public final class GuiDesignerConfiguration extends java.lang.Object implements PersistentStateComponent<GuiDesignerConfiguration>
Modifier and Type | Field and Description |
---|---|
boolean |
COPY_FORMS_RUNTIME_TO_OUTPUT |
java.lang.String |
DEFAULT_FIELD_ACCESSIBILITY |
java.lang.String |
DEFAULT_LAYOUT_MANAGER |
boolean |
INSTRUMENT_CLASSES
Defines how the designer generate UI (instrument classes or generate Java code)
|
boolean |
RESIZE_HEADERS |
Constructor and Description |
---|
GuiDesignerConfiguration() |
Modifier and Type | Method and Description |
---|---|
static GuiDesignerConfiguration |
getInstance(Project project) |
GuiDesignerConfiguration |
getState() |
void |
loadState(GuiDesignerConfiguration object)
This method is called when new component state is loaded.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public boolean INSTRUMENT_CLASSES
public boolean COPY_FORMS_RUNTIME_TO_OUTPUT
public java.lang.String DEFAULT_LAYOUT_MANAGER
public java.lang.String DEFAULT_FIELD_ACCESSIBILITY
public boolean RESIZE_HEADERS
public static GuiDesignerConfiguration getInstance(Project project)
public GuiDesignerConfiguration getState()
getState
in interface PersistentStateComponent<GuiDesignerConfiguration>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(GuiDesignerConfiguration object)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<GuiDesignerConfiguration>
object
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)