/** * Creates a new <code>RefactorActionGroup</code>. The action requires * that the selection provided by the page's selection provider is of type <code> * org.eclipse.jface.viewers.IStructuredSelection</code>. * * @param page the page that owns this action group */ public RefactorActionGroup(Page page) { this(page.getSite(), null); installQuickAccessAction(); }
/** * Creates a new <code>RefactorActionGroup</code>. The action requires * that the selection provided by the page's selection provider is of type <code> * org.eclipse.jface.viewers.IStructuredSelection</code>. * * @param page the page that owns this action group */ public RefactorActionGroup(Page page) { this(page.getSite(), null); installQuickAccessAction(); }
/** * Creates a new <code>RefactorActionGroup</code>. The group requires * that the selection provided by the part's selection provider is of type <code> * org.eclipse.jface.viewers.IStructuredSelection</code>. * * @param part the view part that owns this action group */ public RefactorActionGroup(IViewPart part) { this(part.getSite(), null); IUndoContext workspaceContext= ResourcesPlugin.getWorkspace().getAdapter(IUndoContext.class); fUndoRedoActionGroup= new UndoRedoActionGroup(part.getViewSite(), workspaceContext, true); installQuickAccessAction(); }
/** * Creates a new <code>RefactorActionGroup</code>. The group requires * that the selection provided by the part's selection provider is of type <code> * org.eclipse.jface.viewers.IStructuredSelection</code>. * * @param part the view part that owns this action group */ public RefactorActionGroup(IViewPart part) { this(part.getSite(), null); IUndoContext workspaceContext= ResourcesPlugin.getWorkspace().getAdapter(IUndoContext.class); fUndoRedoActionGroup= new UndoRedoActionGroup(part.getViewSite(), workspaceContext, true); installQuickAccessAction(); }
initUpdatingAction(fIntroduceIndirectionAction, provider, selection, IJavaEditorActionDefinitionIds.INTRODUCE_INDIRECTION); installQuickAccessAction();
editor.setAction("Inline", fInlineAction); //$NON-NLS-1$ installQuickAccessAction();
editor.setAction("Inline", fInlineAction); //$NON-NLS-1$ installQuickAccessAction();
editor.setAction("Inline", fInlineAction); //$NON-NLS-1$ installQuickAccessAction();