artisynth.core.gui.editorManager
Class MechModelEditor
java.lang.Object
artisynth.core.gui.editorManager.EditorBase
artisynth.core.gui.editorManager.MechModelEditor
public class MechModelEditor
- extends EditorBase
Provides editing actions for MechModel
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MechModelEditor
public MechModelEditor(Main main,
EditorManager editManager)
lowestCommonModel
public static MechModel lowestCommonModel(java.util.LinkedList<? extends ModelComponent> comps)
containsCollidableSelection
public boolean containsCollidableSelection(java.util.LinkedList<ModelComponent> selection)
- Returns true if the selection list contains a set of components
& for which collisions can be set.
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