本文整理汇总了Java中org.openide.explorer.ExplorerUtils.activateActions方法的典型用法代码示例。如果您正苦于以下问题:Java ExplorerUtils.activateActions方法的具体用法?Java ExplorerUtils.activateActions怎么用?Java ExplorerUtils.activateActions使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.openide.explorer.ExplorerUtils
的用法示例。
在下文中一共展示了ExplorerUtils.activateActions方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addNotify
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
@Override
public void addNotify () {
TopComponent.getRegistry ().addPropertyChangeListener (this);
ExplorerUtils.activateActions(getExplorerManager (), true);
getExplorerManager ().addPropertyChangeListener (this);
super.addNotify ();
}
示例2: componentActivated
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
protected @Override void componentActivated() {
ExplorerUtils.activateActions(manager, true);
}
示例3: componentDeactivated
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
@Override
protected void componentDeactivated() {
ExplorerUtils.activateActions(explorerManager, false);
super.componentDeactivated();
}
示例4: removeNotify
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
public void removeNotify() {
ExplorerUtils.activateActions(manager, false);
super.removeNotify();
}
示例5: panelDeactivated
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
@Override
public void panelDeactivated() {
ExplorerUtils.activateActions(explorerManager, false);
}
示例6: componentOpened
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
@Override
public void componentOpened() {
ExplorerUtils.activateActions(em, true);
}
示例7: addNotify
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
public void addNotify() {
super.addNotify();
ExplorerUtils.activateActions(manager, true);
}
示例8: componentActivated
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
@Override
protected void componentActivated() {
super.componentActivated();
ExplorerUtils.activateActions(explorerManager, true);
requestFocusTreeOrTable();
}
示例9: componentDeactivated
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
protected void componentDeactivated() {
ExplorerUtils.activateActions(em, false);
super.componentDeactivated();
}
示例10: componentDeactivated
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
@Override
protected void componentDeactivated() {
ExplorerUtils.activateActions(manager, false);
}
示例11: componentActivated
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
@Override
protected void componentActivated() {
ExplorerUtils.activateActions(manager, true);
}
示例12: addNotify
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
public @Override void addNotify() {
super.addNotify();
ExplorerUtils.activateActions(manager, true);
}
示例13: removeNotify
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
public @Override void removeNotify() {
ExplorerUtils.activateActions(manager, false);
super.removeNotify();
}
示例14: panelDeactivated
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
public void panelDeactivated() {
ExplorerUtils.activateActions(manager, false);
}
示例15: addNotify
import org.openide.explorer.ExplorerUtils; //导入方法依赖的package包/类
public void addNotify() {
//System.out.println("addNotify()");
super.addNotify();
ExplorerUtils.activateActions(manager, true);
}