net.sf.panoptes.model.node
Class ComponentNode
java.lang.Object
|
+--net.sf.panoptes.model.node.Node
|
+--net.sf.panoptes.model.node.ComponentNode
- public class ComponentNode
- extends Node
Instances of this class are placeholders or "shortcuts" for other components. They
are used to enable a single component to be displayed and manipulated in several
places in the hierarchy at the same time.
- Version:
- 0.1
- Author:
- dag@liodden.no
- See Also:
IComponent
,
Node
Fields inherited from class net.sf.panoptes.model.node.Node |
ICON_BROKEN_LINK, ICON_CONNECTION, ICON_CONNECTIONS_FOLDER, ICON_DATASOURCE, ICON_DOMAIN, ICON_ERROR, ICON_FOLDER, ICON_INFO, ICON_LOG, ICON_LOG_FOLDER, ICON_MBEAN, ICON_QUERY_FOLDER, ICON_SERVER, ICON_SERVICE, ICON_SESSION, ICON_USER, ICON_WARNING |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentNode
public ComponentNode(ComponentRegistry componentRegistry,
ComponentName componentName)
- Creates a new instance.
- Parameters:
componentRegistry
- the registry in which the component this instance is placeholder for livescomponentName
- the ComponentName
of the component
getConfigDescriptor
public NodeDescriptor getConfigDescriptor()
- Specified by:
getConfigDescriptor
in class Node
getChildren
public Node[] getChildren()
- Specified by:
getChildren
in class Node
getIcon
public org.eclipse.swt.graphics.Image getIcon()
- Specified by:
getIcon
in class Node
- Returns:
setIcon
public void setIcon(org.eclipse.swt.graphics.Image icon)
dereference
public Component dereference()
throws ComponentNotFoundException
ComponentNotFoundException
acceptsChildren
public boolean acceptsChildren()
- Specified by:
acceptsChildren
in class Node
setConfigDescriptor
public void setConfigDescriptor(NodeDescriptor configDescriptor)
addConfiguratorScript
public void addConfiguratorScript(java.lang.String script)
getConfiguratorScripts
public java.lang.String[] getConfiguratorScripts()
- Specified by:
getConfiguratorScripts
in class Node
Copyright © 2003 . All Rights Reserved.