JComponent () { if (myNode instanceof ServersTreeStructure.LogProvidingNode) { return ((ServersTreeStructure.LogProvidingNode)myNode).getComponent(); } else if (myNode instanceof RemoteServerNode) { return RemoteServersDeploymentManager.getInstance(myNode.getProject()).getServerContent(((RemoteServerNode)myNode).getServer()); } return null; }