本文整理汇总了Java中com.intellij.packageDependencies.ui.TreeExpansionMonitor类的典型用法代码示例。如果您正苦于以下问题:Java TreeExpansionMonitor类的具体用法?Java TreeExpansionMonitor怎么用?Java TreeExpansionMonitor使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
TreeExpansionMonitor类属于com.intellij.packageDependencies.ui包,在下文中一共展示了TreeExpansionMonitor类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ChooseActionsDialog
import com.intellij.packageDependencies.ui.TreeExpansionMonitor; //导入依赖的package包/类
public ChooseActionsDialog(Component parent, Keymap keymap, QuickList[] quicklists) {
super(parent, true);
myKeymap = keymap;
myQuicklists = quicklists;
myActionsTree = new ActionsTree();
myActionsTree.reset(keymap, quicklists);
myActionsTree.getTree().getSelectionModel().setSelectionMode(TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION);
new DoubleClickListener() {
@Override
protected boolean onDoubleClick(MouseEvent e) {
doOKAction();
return true;
}
}.installOn(myActionsTree.getTree());
myTreeExpansionMonitor = TreeExpansionMonitor.install(myActionsTree.getTree());
setTitle("Add Actions to Quick List");
init();
}