public class SubFromSelectionAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends AbstractSelectionAction<G,A,R> implements EditorAction
EditorAction that removes the current pre-selection from the
selection.| Constructor and Description |
|---|
SubFromSelectionAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAction(@NotNull javax.swing.Action action,
@NotNull java.lang.String name)
Sets the
Action instance for this editor action. |
void |
subFromSelection()
Removes the current pre-selection from the selection.
|
protected void |
updateAction()
Called whenever the current map cursor has changed.
|
doSelectionactiveMapViewChanged, getActiveMapCursor, getActiveMapView, mapCursorChangedGameObject, mapCursorChangedMode, mapCursorChangedPos, mapCursorChangedSize, mapViewClosing, mapViewCreatedpublic void setAction(@NotNull
@NotNull javax.swing.Action action,
@NotNull
@NotNull java.lang.String name)
EditorActionAction instance for this editor action.setAction in interface EditorActionaction - the action instancename - the name of the action@ActionMethod public void subFromSelection()
protected void updateAction()
AbstractMapCursorActionupdateAction in class AbstractMapCursorAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>