Package docking.theme.gui
Class ThemeEditorDialog
java.lang.Object
docking.DialogComponentProvider
docking.theme.gui.ThemeEditorDialog
- All Implemented Interfaces:
ActionContextProvider
,StatusListener
,TaskListener
Primary dialog for editing Themes.
-
Field Summary
Fields inherited from class docking.DialogComponentProvider
applyButton, buttonPanel, cancelButton, dismissButton, okButton, rootPanel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
The callback method for when the "Dismiss" button is pressed.static void
editTheme
(ThemeManager themeManager) Edits the current themegetActionContext
(MouseEvent event) An optional extension point for subclasses to provider action context for the actions used by this provider.static ThemeEditorDialog
protected void
Methods inherited from class docking.DialogComponentProvider
addAction, addApplyButton, addButton, addCancelButton, addDismissButton, addOKButton, addWorkPanel, alertMessage, alertMessage, applyCallback, cancelCallback, cancelCurrentTask, clearScheduledTask, clearStatusText, closeDialog, dialogClosed, dialogShown, dispose, doInitialize, escapeCallback, executeProgressTask, getActions, getBackground, getBounds, getComponent, getDefaultButton, getDefaultSize, getDialogSize, getFocusComponent, getGlassPane, getHelpLocation, getId, getInitialLocation, getLocationOnScreen, getParent, getPreferredSize, getRememberLocation, getRememberSize, getStatusColor, getStatusLabel, getStatusText, getTaskMonitorComponent, getTaskScheduler, getTitle, getUseSharedLocation, hideTaskMonitorComponent, isApplyEnabled, isCancelEnabled, isModal, isOKEnabled, isResizeable, isRunningTask, isShowing, isTransient, isVisible, notifyContextChanged, okCallback, removeAction, removeButton, removeWorkPanel, repack, setAccessibleDescription, setApplyEnabled, setApplyToolTip, setBackground, setCancelButtonText, setCancelEnabled, setCancelToolTip, setCursor, setDefaultButton, setDefaultSize, setDialogSize, setDismissToolTip, setFocusComponent, setGlassPane, setHelpLocation, setInitialLocation, setMinimumSize, setMinimumSize, setOkButtonText, setOkEnabled, setOkToolTip, setPreferredSize, setRememberLocation, setRememberSize, setResizable, setStatusJustification, setStatusText, setStatusText, setStatusText, setTitle, setTransient, setUseSharedLocation, showProgressBar, showTaskMonitorComponent, stopProgressTimer, taskCancelled, taskCompleted, toFront, toString, waitForCurrentTask
-
Constructor Details
-
ThemeEditorDialog
-
-
Method Details
-
dismissCallback
protected void dismissCallback()Description copied from class:DialogComponentProvider
The callback method for when the "Dismiss" button is pressed. The default behavior is to call the cancel Callback.- Overrides:
dismissCallback
in classDialogComponentProvider
-
saveCallback
protected void saveCallback() -
editTheme
Edits the current theme- Parameters:
themeManager
- the application ThemeManager
-
getRunningInstance
-
close
public void close()- Overrides:
close
in classDialogComponentProvider
-
getActionContext
Description copied from class:DialogComponentProvider
An optional extension point for subclasses to provider action context for the actions used by this provider.- Specified by:
getActionContext
in interfaceActionContextProvider
- Overrides:
getActionContext
in classDialogComponentProvider
- Parameters:
event
- The mouse event used (may be null) to generate a popup menu
-