com.sun.hotspot.igv.filterwindow.actions.NewFilterAction Java Examples
The following examples show how to use
com.sun.hotspot.igv.filterwindow.actions.NewFilterAction.
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: FilterTopComponent.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
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); }
Example #2
Source File: FilterTopComponent.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
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); }
Example #3
Source File: FilterTopComponent.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
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); }
Example #4
Source File: FilterTopComponent.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
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); }
Example #5
Source File: FilterTopComponent.java From hottub with GNU General Public License v2.0 | 5 votes |
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); }
Example #6
Source File: FilterTopComponent.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
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); }
Example #7
Source File: FilterTopComponent.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
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); }