Java Code Examples for org.openide.explorer.ExplorerUtils#activateActions()

The following examples show how to use org.openide.explorer.ExplorerUtils#activateActions() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: OutlineTable.java    From netbeans with Apache License 2.0 5 votes vote down vote up
@Override
public void removeNotify () {
    super.removeNotify ();
    TopComponent.getRegistry ().removePropertyChangeListener (this);
    ExplorerUtils.activateActions(getExplorerManager (), false);
    getExplorerManager ().removePropertyChangeListener (this);
    setModel(null);
}
 
Example 2
Source File: ComponentHierarchy.java    From netbeans with Apache License 2.0 5 votes vote down vote up
@Override
public void panelActivated(Lookup context) {
    ComponentInfo ci = context.lookup(ComponentInfo.class);
    if (logger.isLoggable(Level.FINE)) {
        logger.fine("panelActivated("+context+") ci = "+ci+", tc = "+context.lookup(ScreenshotComponent.class));
        if (ci != null) {
            logger.fine("  ci name = "+ci.getDisplayName());
        }
    }
    ExplorerUtils.activateActions(explorerManager, true);
}
 
Example 3
Source File: AbstractDesignEditor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public void componentActivated() {
    ExplorerUtils.activateActions(manager, true);
}
 
Example 4
Source File: ExplorerTopComponent.java    From opensim-gui with Apache License 2.0 4 votes vote down vote up
protected void componentActivated() {
   ExplorerUtils.activateActions(getExplorerManager(), true);
}
 
Example 5
Source File: ProjectTab.java    From netbeans with Apache License 2.0 4 votes vote down vote up
@Override
protected void componentActivated() {
    ExplorerUtils.activateActions(manager, true);
}
 
Example 6
Source File: ServicesTab.java    From netbeans with Apache License 2.0 4 votes vote down vote up
protected @Override void componentDeactivated() {
    ExplorerUtils.activateActions(manager, false);
}
 
Example 7
Source File: ServicesTab.java    From netbeans with Apache License 2.0 4 votes vote down vote up
protected @Override void componentActivated() {
    ExplorerUtils.activateActions(manager, true);
}
 
Example 8
Source File: TransactionView.java    From netbeans with Apache License 2.0 4 votes vote down vote up
protected void componentDeactivated() {
    ExplorerUtils.activateActions(mgr, false);
}
 
Example 9
Source File: ToolBarDesignEditor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public void removeNotify() {
    //System.out.println("removeNotify()");
    ExplorerUtils.activateActions(manager, false);
    //super.removeNotify();
}
 
Example 10
Source File: MainFrame.java    From procamtracker with GNU General Public License v2.0 4 votes vote down vote up
@Override public void removeNotify() {
    ExplorerUtils.activateActions(manager, false);
    super.removeNotify();
}
 
Example 11
Source File: ExplorerPanel.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public void removeNotify() {
    ExplorerUtils.activateActions(manager, false);
    super.removeNotify();
}
 
Example 12
Source File: ExplorerTopComponent.java    From opensim-gui with Apache License 2.0 4 votes vote down vote up
protected void componentDeactivated() {
   ExplorerUtils.activateActions(getExplorerManager(), false);
}
 
Example 13
Source File: BookmarksView.java    From netbeans with Apache License 2.0 4 votes vote down vote up
@Override
protected void componentDeactivated() {
    ExplorerUtils.activateActions(explorerManager, false);
    super.componentDeactivated();
}
 
Example 14
Source File: NodeOperationImpl.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public @Override void removeNotify() {
    ExplorerUtils.activateActions(manager, false);
    super.removeNotify();
}
 
Example 15
Source File: ToolBarDesignEditor.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public void addNotify() {
    //System.out.println("addNotify()");
    super.addNotify();
    ExplorerUtils.activateActions(manager, true);
}
 
Example 16
Source File: BiPanel.java    From netbeans with Apache License 2.0 4 votes vote down vote up
protected void componentDeactivated() {
    ExplorerUtils.activateActions(em, false);
    super.componentDeactivated();
}
 
Example 17
Source File: BiPanel.java    From netbeans with Apache License 2.0 4 votes vote down vote up
protected void componentActivated() {
    super.componentActivated();
    ExplorerUtils.activateActions(em, true);
}
 
Example 18
Source File: MainFrame.java    From procamcalib with GNU General Public License v2.0 4 votes vote down vote up
@Override public void addNotify() {
    super.addNotify();
    ExplorerUtils.activateActions(manager, true);
}
 
Example 19
Source File: PhadhailViews.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public void addNotify() {
    super.addNotify();
    ExplorerUtils.activateActions(manager, true);
}
 
Example 20
Source File: AssetPackBrowserTopComponent.java    From MikuMikuStudio with BSD 2-Clause "Simplified" License 4 votes vote down vote up
@Override
protected void componentDeactivated() {
    ExplorerUtils.activateActions(explorerManager, false);
}