MainTabbedPane.getInstance().add(new ArtifactPanel( ((ArtifactTreeNode) localNode).getArtifact()),
MainTabbedPane.getInstance().add(new ArtifactPanel(mainFrame, ((ArtifactTreeNode) localNode).getArtifact()),
		public void mouseClicked (MouseEvent _e)		{			if (_e.getButton() == MouseEvent.BUTTON1 && _e.getClickCount() == 2)			{				DefaultMutableTreeNode localNode = (DefaultMutableTreeNode) getLastSelectedPathComponent() ;				/*				 * Task descriptors => displaying estimations				 */				if (localNode instanceof TaskDescriptorTreeNode)				{					MainTabbedPane.getInstance().add(new TaskDescriptorPanel( ((TaskDescriptorTreeNode) localNode).getTask()),							((TaskDescriptorTreeNode) localNode).getTask().getName()) ;				}				/*				 * Role descriptors => displaying role infos				 */				else if (localNode instanceof RoleDescriptorTreeNode)				{					MainTabbedPane.getInstance().add(new RoleDescriptorPanel( ((RoleDescriptorTreeNode) localNode).getRole()),							((RoleDescriptorTreeNode) localNode).getRole().getName()) ;				}								/*				 * Product descriptors				 */				else if (localNode instanceof WorkProductDescriptorTreeNode)				{					MainTabbedPane.getInstance().add(new WorkProductDescriptorPanel( ((WorkProductDescriptorTreeNode) localNode).getProduct()),							((WorkProductDescriptorTreeNode) localNode).getProduct().getName()) ;				}								/*				 * Artifacts				 */				else if (localNode instanceof ArtifactTreeNode)				{					MainTabbedPane.getInstance().add(new ArtifactPanel( ((ArtifactTreeNode) localNode).getArtifact()),							((ArtifactTreeNode) localNode).getArtifact().getName()) ;				}								/*				 * Task definitions				 */				else if (localNode instanceof TaskDefinitionTreeNode)				{					MainTabbedPane.getInstance().add(new TaskDefinitionPanel( ((TaskDefinitionTreeNode) localNode).getTask()),							((TaskDefinitionTreeNode) localNode).getTask().getName()) ;				}			}		}