/*******************************************************************************
 * Copyright 2013 Friedrich Schiller University Jena
 * stephan.druskat@uni-jena.de
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/
package de.uni_jena.iaa.linktype.atomic.core;

import org.eclipse.jface.action.IMenuManager;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.application.ActionBarAdvisor;
import org.eclipse.ui.application.IActionBarConfigurer;

public class ApplicationActionBarAdvisor extends ActionBarAdvisor {

    public ApplicationActionBarAdvisor(IActionBarConfigurer configurer) {
        super(configurer);
    }

    protected void makeActions(IWorkbenchWindow window) {
    }

    protected void fillMenuBar(IMenuManager menuBar) {
    }
    
}

@@ -931,16 +931,61 @@
 Window;%0A
+import org.eclipse.ui.actions.ActionFactory;%0A
 import o
@@ -1316,24 +1316,330 @@
 w window) %7B%0A
+    %09// Needed for hotkeys to work in CNF%0A    %09register(ActionFactory.COPY.create(window));%0A        register(ActionFactory.PASTE.create(window));%0A        register(ActionFactory.DELETE.create(window));%0A        register(ActionFactory.CUT.create(window));%0A        register(ActionFactory.UNDO.create(window));%0A
     %7D%0A%0A    p

Add keybindings to CNF