org.almendra.janet.cas.node.gui
Class NodeViewsRegistry

java.lang.Object
  extended by org.almendra.janet.cas.node.gui.NodeViewsRegistry

public class NodeViewsRegistry
extends java.lang.Object

Author:
Oliver Plohmann

Field Summary
protected  NodeViewController controller
           
static java.lang.String LABEL
           
protected  NodeView view
           
static java.lang.String ViewLocation
           
protected  java.util.Map viewOpenHandlersByViewLabel
           
static java.lang.String ViewSize
           
 
Constructor Summary
protected NodeViewsRegistry()
          Creates a new NodeViewsRegistry object.
  NodeViewsRegistry(NodeViewController controller, NodeView view)
          Creates a new NodeViewsRegistry object.
 
Method Summary
 boolean addViewEntry(java.lang.String viewLabel, ICallbackHandler signaledOnOpen)
           
 boolean open(java.lang.String viewLabel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABEL

public static final java.lang.String LABEL
See Also:
Constant Field Values

ViewLocation

public static final java.lang.String ViewLocation
See Also:
Constant Field Values

ViewSize

public static final java.lang.String ViewSize
See Also:
Constant Field Values

controller

protected NodeViewController controller

view

protected NodeView view

viewOpenHandlersByViewLabel

protected java.util.Map viewOpenHandlersByViewLabel
Constructor Detail

NodeViewsRegistry

protected NodeViewsRegistry()
Creates a new NodeViewsRegistry object.


NodeViewsRegistry

public NodeViewsRegistry(NodeViewController controller,
                         NodeView view)
Creates a new NodeViewsRegistry object.

Method Detail

addViewEntry

public boolean addViewEntry(java.lang.String viewLabel,
                            ICallbackHandler signaledOnOpen)

open

public boolean open(java.lang.String viewLabel)