本文整理汇总了Java中com.sun.hotspot.igv.filterwindow.FilterTopComponent类的典型用法代码示例。如果您正苦于以下问题:Java FilterTopComponent类的具体用法?Java FilterTopComponent怎么用?Java FilterTopComponent使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
FilterTopComponent类属于com.sun.hotspot.igv.filterwindow包,在下文中一共展示了FilterTopComponent类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: performAction
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
@Override
protected void performAction(Node[] activatedNodes) {
Object[] options = {"Yes",
"No",
"Cancel"
};
int n = JOptionPane.showOptionDialog(WindowManager.getDefault().getMainWindow(),
"Do you really want to delete " + activatedNodes.length + " filter(s)?", "Delete Filters",
JOptionPane.YES_NO_CANCEL_OPTION,
JOptionPane.QUESTION_MESSAGE,
null,
options,
options[2]);
if (n == JOptionPane.YES_OPTION) {
for (int i = 0; i < activatedNodes.length; i++) {
FilterTopComponent.findInstance().removeFilter(activatedNodes[i].getLookup().lookup(Filter.class));
}
}
}
示例2: performAction
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
protected void performAction(Node[] activatedNodes) {
Object[] options = {"Yes",
"No",
"Cancel"
};
int n = JOptionPane.showOptionDialog(WindowManager.getDefault().getMainWindow(),
"Do you really want to delete " + activatedNodes.length + " filter/s?", "Delete?",
JOptionPane.YES_NO_CANCEL_OPTION,
JOptionPane.QUESTION_MESSAGE,
null,
options,
options[2]);
if (n == JOptionPane.YES_OPTION) {
for (int i = 0; i < activatedNodes.length; i++) {
FilterTopComponent.findInstance().removeFilter(activatedNodes[i].getLookup().lookup(Filter.class));
}
}
}
示例3: performAction
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
@Override
protected void performAction(Node[] activatedNodes) {
for (Node n : activatedNodes) {
Filter c = n.getLookup().lookup(Filter.class);
FilterTopComponent.findInstance().getSequence().moveFilterDown(c);
}
}
示例4: performAction
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
@Override
protected void performAction(Node[] activatedNodes) {
for (Node n : activatedNodes) {
Filter c = n.getLookup().lookup(Filter.class);
FilterTopComponent.findInstance().getSequence().moveFilterUp(c);
}
}
示例5: actionPerformed
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
@Override
public void actionPerformed(ActionEvent evt) {
TopComponent win = FilterTopComponent.findInstance();
win.open();
win.requestActive();
}
示例6: performAction
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
@Override
public void performAction() {
FilterTopComponent.findInstance().newFilter();
}
示例7: performAction
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
@Override
public void performAction() {
FilterTopComponent.findInstance().addFilterSetting();
}
示例8: performAction
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
@Override
public void performAction() {
FilterTopComponent.findInstance().removeFilterSetting();
}
示例9: performAction
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
protected void performAction(Node[] activatedNodes) {
for (Node n : activatedNodes) {
Filter c = n.getLookup().lookup(Filter.class);
FilterTopComponent.findInstance().getSequence().moveFilterDown(c);
}
}
示例10: performAction
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
protected void performAction(Node[] activatedNodes) {
for (Node n : activatedNodes) {
Filter c = n.getLookup().lookup(Filter.class);
FilterTopComponent.findInstance().getSequence().moveFilterUp(c);
}
}
示例11: performAction
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
public void performAction() {
FilterTopComponent.findInstance().newFilter();
}
示例12: performAction
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
public void performAction() {
FilterTopComponent.findInstance().addFilterSetting();
}
示例13: performAction
import com.sun.hotspot.igv.filterwindow.FilterTopComponent; //导入依赖的package包/类
public void performAction() {
FilterTopComponent.findInstance().removeFilterSetting();
}