public void setInput(IJavaElement inputElement) { fInput= inputElement; if (fOutlineViewer != null) { fOutlineViewer.setInput(fInput); updateSelectionProvider(getSite()); } if (fCategoryFilterActionGroup != null) fCategoryFilterActionGroup.setInput(new IJavaElement[] {fInput}); }
public void setInput(IJavaElement inputElement) { fInput= inputElement; if (fOutlineViewer != null) { fOutlineViewer.setInput(fInput); updateSelectionProvider(getSite()); } if (fCategoryFilterActionGroup != null) fCategoryFilterActionGroup.setInput(new IJavaElement[] {fInput}); }
@Override protected void activate(ISelection selection) { fEditor.doSelectionChanged(selection); getSite().getPage().activate(fEditor); }
public void setInput(IJavaElement inputElement) { fInput= inputElement; if (fOutlineViewer != null) { fOutlineViewer.setInput(fInput); updateSelectionProvider(getSite()); } if (fCategoryFilterActionGroup != null) fCategoryFilterActionGroup.setInput(new IJavaElement[] {fInput}); }
@Override protected void activate(ISelection selection) { fEditor.doSelectionChanged(selection); getSite().getPage().activate(fEditor); }
@Override protected void open(ISelection selection, boolean activate) { fEditor.doSelectionChanged(selection); if (activate) getSite().getPage().activate(fEditor); }
@Override public ShowInContext getShowInContext() { return new ShowInContext( null, getSite().getSelectionProvider().getSelection()); } };
@Override protected void open(ISelection selection, boolean activate) { fEditor.doSelectionChanged(selection); if (activate) getSite().getPage().activate(fEditor); }
@Override public ShowInContext getShowInContext() { return new ShowInContext( null, getSite().getSelectionProvider().getSelection()); } };
update(w, delta); if (fForceFireSelectionChanged) fireSelectionChanged(new SelectionChangedEvent(getSite().getSelectionProvider(), this.getSelection())); if (fReorderedMembers) { refresh(false);
getSite().getSelectionProvider().removeSelectionChangedListener(fFormatElement);
getSite().getSelectionProvider().removeSelectionChangedListener(fFormatElement);
tree.setMenu(fMenu); IPageSite site= getSite(); site.registerContextMenu(JavaPlugin.getPluginId() + ".outline", manager, fOutlineViewer); //$NON-NLS-1$
tree.setMenu(fMenu); IPageSite site= getSite(); site.registerContextMenu(JavaPlugin.getPluginId() + ".outline", manager, fOutlineViewer); //$NON-NLS-1$
tree.setMenu(fMenu); IPageSite site= getSite(); site.registerContextMenu(JavaPlugin.getPluginId() + ".outline", manager, fOutlineViewer); //$NON-NLS-1$