com.cosylab.vdct.inspector
Class InspectorManager

java.lang.Object
  extended by com.cosylab.vdct.inspector.InspectorManager
All Implemented Interfaces:
DsEventListener, HelpDisplayer

public class InspectorManager
extends java.lang.Object
implements HelpDisplayer, DsEventListener

Insert the type's description here. Creation date: (8.1.2001 21:35:03)

Author:
Matej Sekoranja !!! inspectors are not disposed !!!! (move ins.listeners in inspectors, when this is implemented);

Field Summary
protected static java.util.HashMap instances
           
 
Constructor Summary
protected InspectorManager()
          InspectorManager constructor comment.
 
Method Summary
 void disposeAllInspectors(java.lang.Object dsId)
          Insert the method's description here.
 void fucusGained(InspectorInterface inspector)
          Insert the method's description here.
 InspectorInterface getActiveInspector()
          Insert the method's description here.
static InspectorManager getInstance()
           
static java.awt.Frame getParent()
          Insert the method's description here.
 boolean isInspected(Inspectable object)
          Insert the method's description here.
 void onDsAdded(java.lang.Object id)
           
 void onDsFocused(java.lang.Object id)
           
 void onDsRemoved(java.lang.Object id)
           
 void requestInspectorFor(Inspectable object)
          Insert the method's description here.
 void setHelpText(java.lang.String text)
          Displays help text in the current active inspector.
 void setHelpTextColor(java.awt.Color color)
           
static void setParent(java.awt.Frame newParent)
          Insert the method's description here.
 void updateCommentProperty(Inspectable object)
          Insert the method's description here.
 void updateObject(Inspectable object)
          Insert the method's description here.
 void updateObjectLists()
          Insert the method's description here.
 void updateProperty(Inspectable object, InspectableProperty property)
          Insert the method's description here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instances

protected static java.util.HashMap instances
Constructor Detail

InspectorManager

protected InspectorManager()
InspectorManager constructor comment.

Method Detail

disposeAllInspectors

public void disposeAllInspectors(java.lang.Object dsId)
Insert the method's description here. Creation date: (8.1.2001 21:39:00)


fucusGained

public void fucusGained(InspectorInterface inspector)
Insert the method's description here. Creation date: (26.1.2001 14:27:46)

Parameters:
inspector - com.cosylab.vdct.inspector.InspectorInterface

getActiveInspector

public InspectorInterface getActiveInspector()
Insert the method's description here. Creation date: (26.1.2001 15:24:34)

Returns:
com.cosylab.vdct.inspector.InspectorInterface

getInstance

public static InspectorManager getInstance()

getParent

public static java.awt.Frame getParent()
Insert the method's description here. Creation date: (10.1.2001 16:00:49)

Returns:
java.awt.Frame

isInspected

public boolean isInspected(Inspectable object)
Insert the method's description here. Creation date: (27.1.2001 14:20:50)

Parameters:
object - com.cosylab.vdct.inspector.Inspectable
Returns:
boolean

requestInspectorFor

public void requestInspectorFor(Inspectable object)
Insert the method's description here. Creation date: (8.1.2001 21:37:54)

Parameters:
object - com.cosylab.vdct.inspector.Inspectable

updateObject

public void updateObject(Inspectable object)
Insert the method's description here. Creation date: (8.1.2001 21:37:54)

Parameters:
object - com.cosylab.vdct.inspector.Inspectable

setParent

public static void setParent(java.awt.Frame newParent)
Insert the method's description here. Creation date: (10.1.2001 16:00:49)

Parameters:
newParent - java.awt.Frame

updateCommentProperty

public void updateCommentProperty(Inspectable object)
Insert the method's description here. Creation date: (27.1.2001 14:20:50)

Parameters:
object - com.cosylab.vdct.inspector.Inspectable

updateObjectLists

public void updateObjectLists()
Insert the method's description here. Creation date: (17.4.2001 15:46:11)


updateProperty

public void updateProperty(Inspectable object,
                           InspectableProperty property)
Insert the method's description here. Creation date: (27.1.2001 14:20:50)

Parameters:
object - com.cosylab.vdct.inspector.Inspectable

setHelpText

public void setHelpText(java.lang.String text)
Displays help text in the current active inspector.

Specified by:
setHelpText in interface HelpDisplayer

setHelpTextColor

public void setHelpTextColor(java.awt.Color color)
Specified by:
setHelpTextColor in interface HelpDisplayer

onDsAdded

public void onDsAdded(java.lang.Object id)
Specified by:
onDsAdded in interface DsEventListener

onDsFocused

public void onDsFocused(java.lang.Object id)
Specified by:
onDsFocused in interface DsEventListener

onDsRemoved

public void onDsRemoved(java.lang.Object id)
Specified by:
onDsRemoved in interface DsEventListener