void refresh(@Nullable final G gameObject)
Implements the "Game Object Text Editor".
void applyChanges(@NotNull final GameObject<?, ?, ?> gameObject)
Updates a GameObject's attributes from the input field.
TextEditorTab(@NotNull final GameObjectAttributesModel< G, A, R > gameObjectAttributesModel, @NotNull final ArchetypeTypeSet archetypeTypeSet)
Creates a new instance.
Component getTextPane()
Returns the text input pane.
boolean canApplyChanges()
Returns whether the current text field differs from the initial value.
void apply(@NotNull final G gameObject)
void activate()
Activates this component.
final GameObjectTextEditor gameObjectTextEditor
The displayed GameObjectTextEditor instance.
Severity refreshDisplay(@Nullable final GameObject<?, ?, ?> gameObject)
Refreshes the input field to show the attributes of a {}.
The tab containing the game object text editor.