本文整理汇总了Java中com.sun.hotspot.igv.filterwindow.actions.RemoveFilterSettingsAction类的典型用法代码示例。如果您正苦于以下问题:Java RemoveFilterSettingsAction类的具体用法?Java RemoveFilterSettingsAction怎么用?Java RemoveFilterSettingsAction使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RemoveFilterSettingsAction类属于com.sun.hotspot.igv.filterwindow.actions包,在下文中一共展示了RemoveFilterSettingsAction类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: FilterTopComponent
点赞 2
import com.sun.hotspot.igv.filterwindow.actions.RemoveFilterSettingsAction; //导入依赖的package包/类
private FilterTopComponent() {
filterSettingsChangedEvent = new ChangedEvent<FilterTopComponent>(this);
initComponents();
setName(NbBundle.getMessage(FilterTopComponent.class, "CTL_FilterTopComponent"));
setToolTipText(NbBundle.getMessage(FilterTopComponent.class, "HINT_FilterTopComponent"));
// setIcon(Utilities.loadImage(ICON_PATH, true));
sequence = new FilterChain();
filterChain = new FilterChain();
initFilters();
manager = new ExplorerManager();
manager.setRootContext(new AbstractNode(new FilterChildren()));
associateLookup(ExplorerUtils.createLookup(manager, getActionMap()));
view = new CheckListView();
ToolbarPool.getDefault().setPreferredIconSize(16);
Toolbar toolBar = new Toolbar();
Border b = (Border) UIManager.get("Nb.Editor.Toolbar.border"); //NOI18N
toolBar.setBorder(b);
comboBox = new JComboBox();
toolBar.add(comboBox);
this.add(toolBar, BorderLayout.NORTH);
toolBar.add(SaveFilterSettingsAction.get(SaveFilterSettingsAction.class));
toolBar.add(RemoveFilterSettingsAction.get(RemoveFilterSettingsAction.class));
toolBar.addSeparator();
toolBar.add(MoveFilterUpAction.get(MoveFilterUpAction.class).createContextAwareInstance(this.getLookup()));
toolBar.add(MoveFilterDownAction.get(MoveFilterDownAction.class).createContextAwareInstance(this.getLookup()));
toolBar.add(RemoveFilterAction.get(RemoveFilterAction.class).createContextAwareInstance(this.getLookup()));
toolBar.add(NewFilterAction.get(NewFilterAction.class));
this.add(view, BorderLayout.CENTER);
filterSettings = new ArrayList<FilterSetting>();
updateComboBox();
comboBox.addActionListener(comboBoxActionListener);
setChain(filterChain);
}
开发者ID:ojdkbuild,
项目名称:lookaside_java-1.8.0-openjdk,
代码行数:38,
代码来源:FilterTopComponent.java