Search in sources :

Example 1 with AddBookmarkAction

use of org.eclipse.ui.actions.AddBookmarkAction in project translationstudio8 by heartsome.

the class WorkManagementActionProvider method init.

public void init(ICommonActionExtensionSite aSite) {
    final Shell shell = aSite.getViewSite().getShell();
    IShellProvider sp = new IShellProvider() {

        public Shell getShell() {
            return shell;
        }
    };
    addBookmarkAction = new AddBookmarkAction(sp, true);
    addTaskAction = new AddTaskAction(sp);
}
Also used : IShellProvider(org.eclipse.jface.window.IShellProvider) AddTaskAction(org.eclipse.ui.actions.AddTaskAction) Shell(org.eclipse.swt.widgets.Shell) AddBookmarkAction(org.eclipse.ui.actions.AddBookmarkAction)

Aggregations

IShellProvider (org.eclipse.jface.window.IShellProvider)1 Shell (org.eclipse.swt.widgets.Shell)1 AddBookmarkAction (org.eclipse.ui.actions.AddBookmarkAction)1 AddTaskAction (org.eclipse.ui.actions.AddTaskAction)1