/** * Return the extension state model for the content provider associated with * action provider. * @return the extension state model for the content provider associated with * action provider */ protected final IExtensionStateModel getExtensionStateModel() { return getActionSite().getExtensionStateModel(); }
/** * Return the extension state model for the content provider associated with * action provider. * @return the extension state model for the content provider associated with * action provider */ protected final IExtensionStateModel getExtensionStateModel() { return getActionSite().getExtensionStateModel(); }
public void init(ICommonActionExtensionSite site) { fExtensionSite= site; fStateModel= fExtensionSite.getExtensionStateModel(); fLayoutActionGroup= new CommonLayoutActionGroup(fExtensionSite.getStructuredViewer(), fStateModel); INavigatorActivationService activationService= fExtensionSite.getContentService().getActivationService(); activationService.addExtensionActivationListener(fMenuUpdater); fExtensionId= fExtensionSite.getExtensionId(); fEnabled= true; }
@Override public void init(ICommonActionExtensionSite site) { fExtensionSite= site; fStateModel= fExtensionSite.getExtensionStateModel(); fLayoutActionGroup= new CommonLayoutActionGroup(fExtensionSite.getStructuredViewer(), fStateModel); fShowLibrariesNodeActionGroup = new ShowLibrariesNodeActionGroup(fExtensionSite.getStructuredViewer(), fStateModel); INavigatorActivationService activationService= fExtensionSite.getContentService().getActivationService(); activationService.addExtensionActivationListener(fMenuUpdater); fExtensionId= fExtensionSite.getExtensionId(); fEnabled= true; }
@Override public void init(ICommonActionExtensionSite site) { fExtensionSite= site; fStateModel= fExtensionSite.getExtensionStateModel(); fLayoutActionGroup= new CommonLayoutActionGroup(fExtensionSite.getStructuredViewer(), fStateModel); fShowLibrariesNodeActionGroup = new ShowLibrariesNodeActionGroup(fExtensionSite.getStructuredViewer(), fStateModel); INavigatorActivationService activationService= fExtensionSite.getContentService().getActivationService(); activationService.addExtensionActivationListener(fMenuUpdater); fExtensionId= fExtensionSite.getExtensionId(); fEnabled= true; }