artisynth.core.gui.editorManager
Class EditorManager

java.lang.Object
  extended by artisynth.core.gui.editorManager.EditorManager

public class EditorManager
extends java.lang.Object

This class is responsible for managing the editing of components. The EditorManger knows which components can be added to others, so it can be queried to see if one component can be added to another. Given two types of components, one to be added to another, the EditorManager will return the appropriate Editor for those components, if they are allowed to be added to each other. The EditorManager gets the information about which components can be added to others by querying each of the Editor classes that extend BaseEditor. The EditorManager stores a HashMap with components as keys and array lists of components as values. The keys are components that can be edited and the values are the list of components that can be added to them. NOTE: THIS CLASS IS STILL IN PROGRESS


Constructor Summary
EditorManager(Main main)
           
 
Method Summary
 boolean acquireEditLock()
           
 EditActionMap getActionMap(SelectionManager selManager)
           
 boolean isEditLocked()
           
 void releaseEditLock()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorManager

public EditorManager(Main main)
Method Detail

getActionMap

public EditActionMap getActionMap(SelectionManager selManager)

acquireEditLock

public boolean acquireEditLock()

releaseEditLock

public void releaseEditLock()

isEditLocked

public boolean isEditLocked()