public abstract class WorkbenchConfigurationHandler extends Object
| Constructor and Description |
|---|
WorkbenchConfigurationHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
configurationSetting(boolean isInit)
An entry-point for workbench configuration
|
abstract String |
getDescription()
A description of the new workbench configuration menu
|
List<org.uberfire.commons.data.Pair<String,? extends com.google.gwt.user.client.ui.Composite>> |
getExtensions()
Return a List of Widgets that the NewWorkbenchConfigurationHandler can use to gather additional parameters for the
new workbench configuration.
|
org.uberfire.ext.services.shared.preferences.UserWorkbenchPreferences |
getPreference() |
protected abstract org.uberfire.ext.services.shared.preferences.UserWorkbenchPreferences |
getSelectedUserWorkbenchPreferences()
get currently user preferences from selected item widget
|
com.google.gwt.user.client.ui.Composite |
getWidgetByName(String name)
get specific widget by using widget name
|
protected abstract void |
initHandler() |
void |
loadUserWorkbenchPreferences()
Provide NewWorkbenchConfigurationHandler with the ability to load UserWorkbenchPreferences from git repository
|
void |
saveUserWorkbenchPreferences()
Provide NewWorkbenchConfigurationHandler with the ability to store UserWorkbenchPreferences into GIT repository
|
protected abstract void |
setDefaultConfigurationValues(org.uberfire.ext.services.shared.preferences.UserWorkbenchPreferences response)
Set default configuration value
|
void |
setPreference(org.uberfire.ext.services.shared.preferences.UserWorkbenchPreferences response) |
protected abstract void initHandler()
public abstract String getDescription()
public abstract void configurationSetting(boolean isInit)
isInit, - is initializationpublic List<org.uberfire.commons.data.Pair<String,? extends com.google.gwt.user.client.ui.Composite>> getExtensions()
public void loadUserWorkbenchPreferences()
public void saveUserWorkbenchPreferences()
protected abstract void setDefaultConfigurationValues(org.uberfire.ext.services.shared.preferences.UserWorkbenchPreferences response)
response: - user preferences from GIT repositoryprotected abstract org.uberfire.ext.services.shared.preferences.UserWorkbenchPreferences getSelectedUserWorkbenchPreferences()
public com.google.gwt.user.client.ui.Composite getWidgetByName(String name)
name - : specific widget namepublic org.uberfire.ext.services.shared.preferences.UserWorkbenchPreferences getPreference()
public void setPreference(org.uberfire.ext.services.shared.preferences.UserWorkbenchPreferences response)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.