void gameObjectTextEditor()
Action method to open the game object text editor.
Tab prevTab
The previously active Tab before the last switch to {}.
final GameObjectAttributesControl< G, A, R > gameObjectAttributesControl
The GameObjectAttributesControl to display.
boolean prevTabSaved
Whether a previously selected tab has been remembered.
Tab getActiveTab(@NotNull final Location location, final boolean alternativeLocation)
Returns the active Tab on a given Location of the main view.
Main window of the level editor.
final TextEditorTab< G, A, R > textEditorTab
The GameObjectAttributesTab that displays the game object text editor.
final Tab gameObjectTab
The game object Tab to display.
Implements actions related to the MainView.
MainViewActions(@NotNull final MainView mainView, @NotNull final GameObjectAttributesControl< G, A, R > gameObjectAttributesControl, @NotNull final Tab gameObjectTab, @NotNull final TextEditorTab< G, A, R > textEditorTab)
Creates a new instance.
The tab containing the game object text editor.
GameObjectAttributesTab< G, A, R > prevTab2
The previously active GameObjectAttributesTab in {} before the last switch to #textEditorTab}.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.