}
protected void showSample(TreeNode node) {
boolean isExplorerTreeNode = node instanceof ExplorerTreeNode;
if (node instanceof CommandTreeNode) {
CommandTreeNode commandTreeNode = (CommandTreeNode) node;
commandTreeNode.getCommand().execute();
} else if (isExplorerTreeNode) {
ExplorerTreeNode explorerTreeNode = (ExplorerTreeNode) node;
PanelFactory factory = explorerTreeNode.getFactory();
if (factory != null) {
String panelID = factory.getID();