Package net.officefloor.gef.ide.editor
Interface AbstractItem.ConfigurableContext<R extends Model,O>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPreferenceListener(java.lang.String preferenceId, AbstractItem.PreferenceListener preferenceListener)
Adds aAbstractItem.PreferenceListener
.ChangeExecutor
getChangeExecutor()
Obtains theChangeExecutor
.EnvironmentBridge
getEnvironmentBridge()
Obtains theEnvironmentBridge
.O
getOperations()
Obtains the operations.java.lang.String
getPreference(java.lang.String preferenceId)
Obtains a preference value.AdaptedRootBuilder<R,O>
getRootBuilder()
Obtains theAdaptedRootBuilder
.
-
-
-
Method Detail
-
getRootBuilder
AdaptedRootBuilder<R,O> getRootBuilder()
Obtains theAdaptedRootBuilder
.- Returns:
AdaptedRootBuilder
.
-
getEnvironmentBridge
EnvironmentBridge getEnvironmentBridge() throws java.lang.Exception
Obtains theEnvironmentBridge
.- Returns:
EnvironmentBridge
.- Throws:
java.lang.Exception
- If fails to obtain theEnvironmentBridge
.
-
getPreference
java.lang.String getPreference(java.lang.String preferenceId)
Obtains a preference value.- Parameters:
preferenceId
- Identifier for the preference value.- Returns:
- Preference value. May be
null
if no preference configured for identifier.
-
addPreferenceListener
void addPreferenceListener(java.lang.String preferenceId, AbstractItem.PreferenceListener preferenceListener)
Adds aAbstractItem.PreferenceListener
.- Parameters:
preferenceId
- Identifier of the preference value to listen for changes.preferenceListener
-AbstractItem.PreferenceListener
.
-
getOperations
O getOperations()
Obtains the operations.- Returns:
- Operations.
-
getChangeExecutor
ChangeExecutor getChangeExecutor()
Obtains theChangeExecutor
.- Returns:
ChangeExecutor
.
-
-