Class SessionPropsAdapter
java.lang.Object
com.inductiveautomation.perspective.designer.workspace.propertyeditor.AbstractDesignAdapter
com.inductiveautomation.perspective.designer.workspace.pageconfig.SessionPropsAdapter
- All Implemented Interfaces:
DesignAdapter
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.inductiveautomation.perspective.designer.workspace.propertyeditor.AbstractDesignAdapter
context
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
alterPropertyConfig
(PropertyConfigChange change, boolean createUndoAction) void
void
commit()
Called by the workspace right before a save occurs, so we can commit the session props to the local projectcom.teamdev.jxbrowser.js.JsObject
Expected to be non-null if the results ofDesignAdapter.getDeepSelection()
are non-null.com.google.common.eventbus.EventBus
Event bus that can be used to listen to the following event types:SelectionChangeEvent
DeepSelectionChangeEvent
DeepSelectionUpdateEvent
SelectionPropertyUpdateEvent
EditorShutdownEvent
getSymbolicPath
(String indexPath) void
shutdown()
Methods inherited from class com.inductiveautomation.perspective.designer.workspace.propertyeditor.AbstractDesignAdapter
alterEventConfig, alterScriptConfig, getComponentDetails, getContext, getEffectivePipeSelectionAppearance, insertProperty, removeChildPropertyConfigs, removeProperty, renameProperty, sendRaw, writeProperties, writeProperty
-
Field Details
-
bridge
-
-
Constructor Details
-
SessionPropsAdapter
-
-
Method Details
-
commit
public void commit()Called by the workspace right before a save occurs, so we can commit the session props to the local project -
getBridge
- Specified by:
getBridge
in classAbstractDesignAdapter
-
shutdown
public void shutdown() -
getEventBus
public com.google.common.eventbus.EventBus getEventBus()Description copied from interface:DesignAdapter
Event bus that can be used to listen to the following event types:SelectionChangeEvent
DeepSelectionChangeEvent
DeepSelectionUpdateEvent
SelectionPropertyUpdateEvent
EditorShutdownEvent
-
getSelection
-
getSymbolicPath
- Specified by:
getSymbolicPath
in interfaceDesignAdapter
- Overrides:
getSymbolicPath
in classAbstractDesignAdapter
-
getViewStructure
-
alterViewPermissions
- Specified by:
alterViewPermissions
in interfaceDesignAdapter
- Overrides:
alterViewPermissions
in classAbstractDesignAdapter
-
alterPropertyConfig
- Specified by:
alterPropertyConfig
in interfaceDesignAdapter
- Overrides:
alterPropertyConfig
in classAbstractDesignAdapter
-
getDeepSelection
-
getDesignerComponentStore
@Nullable public com.teamdev.jxbrowser.js.JsObject getDesignerComponentStore()Description copied from interface:DesignAdapter
Expected to be non-null if the results ofDesignAdapter.getDeepSelection()
are non-null.- Returns:
- a reference to the designer component store, or null.
-