/*******************************************************************************
 * Copyright 2015 Friedrich-Schiller-Universität Jena
 *
 * 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 org.corpus_tools.atomic;

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);
    }

    @Override
	protected void makeActions(IWorkbenchWindow window) {
    }

    @Override
	protected void fillMenuBar(IMenuManager menuBar) {
    }
    
}

@@ -888,16 +888,123 @@
 Window;%0A
+import org.eclipse.ui.actions.ActionFactory;%0Aimport org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;%0A
 import o
@@ -1346,24 +1346,418 @@
 w window) %7B%0A
+    %09IWorkbenchAction deleteAction = ActionFactory.DELETE.create(window);%0A    %09IWorkbenchAction copyAction = ActionFactory.COPY.create(window);%0A    %09IWorkbenchAction cutAction = ActionFactory.CUT.create(window);%0A    %09IWorkbenchAction pasteAction = ActionFactory.PASTE.create(window);%0A   %09%09register(deleteAction);%0A   %09%09register(copyAction);%0A   %09%09register(cutAction);%0A   %09%09register(pasteAction);%0A
     %7D%0A%0A    @

Fix #94