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 TypeMethodDescriptionvoidvoidvoidendEdit()static SchemaEditorPreferencesdoubleorg.jdom2.ElementSerialize the class into an element to be stored in the workspacebooleanvoidvoidsetCasingStyle(CasingStyle casingStyle) voidsetReplacementChar(String replacementChar) voidsetSchemaToolDbHost(String schemaToolDbHost) voidsetSchemaToolExtraJvmArgs(String schemaToolExtraJvmArgs) voidsetSchemaToolHeap(double schemaToolHeap) voidsetWorkspaceInfo(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:WorkspaceSerialize the class into an element to be stored in the workspace- Specified by:
getWorkspaceInfoin interfaceWorkspace- Returns:
- An
Elementcontaining the data to persist.
-
setWorkspaceInfo
public void setWorkspaceInfo(org.jdom2.Element workspaceInfo) Description copied from interface:WorkspaceRestore the class to the state defined by the data persisted in workspaceInfo- Specified by:
setWorkspaceInfoin interfaceWorkspace- Parameters:
workspaceInfo- AnElementcontaining the persisted state.
-
getSchemaToolDbHost
-
setSchemaToolDbHost
-
getSchemaToolHeap
public double getSchemaToolHeap() -
setSchemaToolHeap
public void setSchemaToolHeap(double schemaToolHeap) -
getSchemaToolExtraJvmArgs
-
setSchemaToolExtraJvmArgs
-
isGlobalSetting
public boolean isGlobalSetting()- Specified by:
isGlobalSettingin interfaceWorkspace
-
addListener
-
removeListener
-
beginEdit
public void beginEdit() -
endEdit
public void endEdit()
-