本文整理汇总了Java中org.openide.nodes.NodeMemberEvent类的典型用法代码示例。如果您正苦于以下问题:Java NodeMemberEvent类的具体用法?Java NodeMemberEvent怎么用?Java NodeMemberEvent使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
NodeMemberEvent类属于org.openide.nodes包,在下文中一共展示了NodeMemberEvent类的16个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: filterChildrenAdded
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
protected void filterChildrenAdded(final NodeMemberEvent ev) {
Locks.event().readLater(new Runnable() {
public void run() {
EQReplannedChildren.super.filterChildrenAdded(ev);
}
});
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:PhadhailViews.java
示例2: filterChildrenRemoved
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
protected void filterChildrenRemoved(final NodeMemberEvent ev) {
Locks.event().readLater(new Runnable() {
public void run() {
EQReplannedChildren.super.filterChildrenRemoved(ev);
}
});
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:PhadhailViews.java
示例3: filterChildrenAdded
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
@Override
protected void filterChildrenAdded (NodeMemberEvent ev) {
super.filterChildrenAdded (ev);
if (getTemplateRootNode ().equals (this.getNode ())) {
sortNodes ();
}
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:TemplatesPanel.java
示例4: filterChildrenRemoved
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
@Override
protected void filterChildrenRemoved (NodeMemberEvent ev) {
super.filterChildrenRemoved (ev);
if (getTemplateRootNode ().equals (this.getNode ())) {
sortNodes ();
}
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:TemplatesPanel.java
示例5: GraphNode
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
private GraphNode(InputGraph graph, InstanceContent content) {
super(Children.LEAF, new AbstractLookup(content));
this.graph = graph;
this.setDisplayName(graph.getName());
content.add(graph);
final GraphViewer viewer = Lookup.getDefault().lookup(GraphViewer.class);
if (viewer != null) {
// Action for opening the graph
content.add(new GraphOpenCookie(viewer, graph));
}
// Action for removing a graph
content.add(new GraphRemoveCookie(graph));
// Action for diffing to the current graph
content.add(new DiffGraphCookie(graph));
// Action for cloning to the current graph
content.add(new GraphCloneCookie(viewer, graph));
this.addNodeListener(new NodeAdapter() {
@Override
public void childrenRemoved(NodeMemberEvent ev) {
GraphNode.this.graph = null;
}
});
}
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:30,代码来源:GraphNode.java
示例6: childrenAdded
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
public void childrenAdded(NodeMemberEvent ev) {
boolean isTerrain = false;
for(org.openide.nodes.Node n : ev.getSnapshot()) {
Node node = n.getLookup().lookup(Node.class);
if (node instanceof Terrain) {
isTerrain = true;
break;
}
}
if (isTerrain)
topComponent.reinitTextureTable();
}
开发者ID:jMonkeyEngine,项目名称:sdk,代码行数:13,代码来源:TerrainEditorController.java
示例7: childrenAdded
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
@Override
public void childrenAdded(NodeMemberEvent ev) {
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:4,代码来源:MatchingObjectNode.java
示例8: childrenRemoved
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
@Override
public void childrenRemoved(NodeMemberEvent ev) {
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:4,代码来源:MatchingObjectNode.java
示例9: childrenAdded
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
public void childrenAdded(NodeMemberEvent ev) {
assertFalse("No event in AWT thread", EventQueue.isDispatchThread());
events.add(ev);
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:5,代码来源:ScanInProgressTest.java
示例10: childrenRemoved
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
public void childrenRemoved(NodeMemberEvent ev) {
assertFalse("No event in AWT thread", EventQueue.isDispatchThread());
events.add(ev);
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:5,代码来源:ScanInProgressTest.java
示例11: filterChildrenAdded
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
@Override
protected void filterChildrenAdded (NodeMemberEvent ev) {
super.filterChildrenAdded (ev);
sortNodes ();
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:6,代码来源:TreeTableView.java
示例12: filterChildrenRemoved
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
@Override
protected void filterChildrenRemoved (NodeMemberEvent ev) {
super.filterChildrenRemoved (ev);
sortNodes ();
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:6,代码来源:TreeTableView.java
示例13: childrenAdded
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
@Override
public void childrenAdded(NodeMemberEvent ev) {}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:3,代码来源:PropertiesRowModel.java
示例14: childrenRemoved
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
@Override
public void childrenRemoved(NodeMemberEvent ev) {}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:3,代码来源:PropertiesRowModel.java
示例15: childrenAdded
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
public void childrenAdded(NodeMemberEvent ev) {
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:3,代码来源:NodeDeletionTest.java
示例16: childrenRemoved
import org.openide.nodes.NodeMemberEvent; //导入依赖的package包/类
public void childrenRemoved(NodeMemberEvent ev) {
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:3,代码来源:NodeDeletionTest.java
注:本文中的org.openide.nodes.NodeMemberEvent类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论