Class SchemaEditorPreferences
java.lang.Object
com.illumon.iris.console.schemaeditor.SchemaEditorPreferences
- All Implemented Interfaces:
Workspace
Persists preference settings for Schema Editor behavior. These are stored in the workspace.
Currently they include what
CasingStyle
to use for formatting column names,
and whether to use underscore or nothing as a replacement character for spaces and hyphens in the source
name.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
endEdit()
static SchemaEditorPreferences
double
org.jdom2.Element
Serialize the class into an element to be stored in the workspaceboolean
void
void
setCasingStyle
(CasingStyle casingStyle) void
setReplacementChar
(String replacementChar) void
setSchemaToolDbHost
(String schemaToolDbHost) void
setSchemaToolExtraJvmArgs
(String schemaToolExtraJvmArgs) void
setSchemaToolHeap
(double schemaToolHeap) void
setWorkspaceInfo
(org.jdom2.Element workspaceInfo) Restore the class to the state defined by the data persisted in workspaceInfo
-
Field Details
-
NODE_NAME
- See Also:
-
-
Method Details
-
getInstance
-
getReplacementChar
-
setReplacementChar
-
getCasingStyle
-
setCasingStyle
-
getWorkspaceInfo
public org.jdom2.Element getWorkspaceInfo()Description copied from interface:Workspace
Serialize the class into an element to be stored in the workspace- Specified by:
getWorkspaceInfo
in interfaceWorkspace
- Returns:
- An
Element
containing the data to persist.
-
setWorkspaceInfo
public void setWorkspaceInfo(org.jdom2.Element workspaceInfo) Description copied from interface:Workspace
Restore the class to the state defined by the data persisted in workspaceInfo- Specified by:
setWorkspaceInfo
in interfaceWorkspace
- Parameters:
workspaceInfo
- AnElement
containing the persisted state.
-
getSchemaToolDbHost
-
setSchemaToolDbHost
-
getSchemaToolHeap
public double getSchemaToolHeap() -
setSchemaToolHeap
public void setSchemaToolHeap(double schemaToolHeap) -
getSchemaToolExtraJvmArgs
-
setSchemaToolExtraJvmArgs
-
isGlobalSetting
public boolean isGlobalSetting()- Specified by:
isGlobalSetting
in interfaceWorkspace
-
addListener
-
removeListener
-
beginEdit
public void beginEdit() -
endEdit
public void endEdit()
-