b.setToolTipText("Options for hiding nodes in the source tree");
return b;
}
private JPopupMenu buildForSourceTree() {
JPopupMenu popup = new KongaPopupMenu();
addMenuItem(popup, ShowMappedSourceNodesAction.ID, HIDE_UNMAPPED_NODES);
addMenuItem(popup, ShowSourceDataNodesAction.ID, SHOW_DATA_NODES_ONLY);
addSimpleNodeDisplaySwitch(popup, treeMapper.m_sourceTreeComponent);
addSimpleXmlElementDisplaySwitchIfSupported(popup, treeMapper.m_sourceTreeComponent);
return popup;