artisynth.core.gui.editorManager
Class RootModelEditor

java.lang.Object
  extended by artisynth.core.gui.editorManager.EditorBase
      extended by artisynth.core.gui.editorManager.RootModelEditor

public class RootModelEditor
extends EditorBase

Provides editing actions for MechModel


Field Summary
 
Fields inherited from class artisynth.core.gui.editorManager.EditorBase
DISABLED, EXCLUSIVE
 
Constructor Summary
RootModelEditor(Main main, EditorManager editManager)
           
 
Method Summary
 void addActions(EditActionMap actions, SelectionManager selManager)
          Adds editing actions that can be provided by this editor, for a given selection context, to an action map.
 void applyAction(java.lang.String actionCommand, java.util.LinkedList<ModelComponent> selection, java.awt.Rectangle popupBounds)
           
 
Methods inherited from class artisynth.core.gui.editorManager.EditorBase
containsDoubleSelection, containsMultipleCommonParentSelection, containsMultipleSelection, containsSingleSelection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootModelEditor

public RootModelEditor(Main main,
                       EditorManager editManager)
Method Detail

addActions

public void addActions(EditActionMap actions,
                       SelectionManager selManager)
Description copied from class: EditorBase
Adds editing actions that can be provided by this editor, for a given selection context, to an action map.

Overrides:
addActions in class EditorBase
Parameters:
actions - action map to which actions are appended.
selManager - used to query the current selection context

applyAction

public void applyAction(java.lang.String actionCommand,
                        java.util.LinkedList<ModelComponent> selection,
                        java.awt.Rectangle popupBounds)
Overrides:
applyAction in class EditorBase