Package com.illumon.iris.console.utils
Class DbAclEditor
java.lang.Object
com.illumon.iris.console.utils.DbAclEditor
- All Implemented Interfaces:
Workspace
public class DbAclEditor extends Object implements Workspace
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DbAclEditor.StatusListener
Interface for the status listeners. -
Field Summary
-
Constructor Summary
Constructors Constructor Description DbAclEditor(IrisUserContext irisUserContext, com.fishlib.io.logger.Logger log, IrisConsole irisConsole)
-
Method Summary
Modifier and Type Method Description JComponent
$$$getRootComponent$$$()
void
addStartupListener(Runnable runnable)
void
addStatusListener(DbAclEditor.StatusListener listener)
Add aDbAclEditor.StatusListener
on which theDbAclEditor.StatusListener.updateAclEditorStatus(boolean, boolean, java.lang.String)
method will be called when the ACL editor status changes.JPanel
getPanel()
org.jdom2.Element
getWorkspaceInfo()
Serialize the class into an element to be stored in the workspacevoid
setWorkspaceInfo(org.jdom2.Element workspaceInfo)
Restore the class to the state defined by the data persisted in workspaceInfo
-
Field Details
-
NODE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
DbAclEditor
public DbAclEditor(IrisUserContext irisUserContext, com.fishlib.io.logger.Logger log, IrisConsole irisConsole)
-
-
Method Details
-
getPanel
-
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.
-
$$$getRootComponent$$$
- Noinspection:
- ALL
-
addStartupListener
-
addStatusListener
Add aDbAclEditor.StatusListener
on which theDbAclEditor.StatusListener.updateAclEditorStatus(boolean, boolean, java.lang.String)
method will be called when the ACL editor status changes.- Parameters:
listener
- theDbAclEditor.StatusListener
-