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 TypeMethodDescriptionvoidalterPropertyConfig(PropertyConfigChange change, boolean createUndoAction) voidvoidcommit()Called by the workspace right before a save occurs, so we can commit the session props to the local projectcom.teamdev.jxbrowser.js.JsObjectExpected to be non-null if the results ofDesignAdapter.getDeepSelection()are non-null.com.google.common.eventbus.EventBusEvent bus that can be used to listen to the following event types:SelectionChangeEventDeepSelectionChangeEventDeepSelectionUpdateEventSelectionPropertyUpdateEventEditorShutdownEventgetSymbolicPath(String indexPath) voidshutdown()Methods inherited from class com.inductiveautomation.perspective.designer.workspace.propertyeditor.AbstractDesignAdapter
alterEventConfig, alterScriptConfig, getComponentDetails, getContext, getEffectivePipeSelectionAppearance, insertProperty, removeChildPropertyConfigs, removeProperty, renameProperty, reorderProperty, 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:
getBridgein classAbstractDesignAdapter
-
shutdown
public void shutdown() -
getEventBus
public com.google.common.eventbus.EventBus getEventBus()Description copied from interface:DesignAdapterEvent bus that can be used to listen to the following event types:SelectionChangeEventDeepSelectionChangeEventDeepSelectionUpdateEventSelectionPropertyUpdateEventEditorShutdownEvent -
getSelection
-
getSymbolicPath
- Specified by:
getSymbolicPathin interfaceDesignAdapter- Overrides:
getSymbolicPathin classAbstractDesignAdapter
-
getViewStructure
-
alterViewPermissions
- Specified by:
alterViewPermissionsin interfaceDesignAdapter- Overrides:
alterViewPermissionsin classAbstractDesignAdapter
-
alterPropertyConfig
- Specified by:
alterPropertyConfigin interfaceDesignAdapter- Overrides:
alterPropertyConfigin classAbstractDesignAdapter
-
getDeepSelection
-
getDesignerComponentStore
@Nullable public com.teamdev.jxbrowser.js.JsObject getDesignerComponentStore()Description copied from interface:DesignAdapterExpected to be non-null if the results ofDesignAdapter.getDeepSelection()are non-null.- Returns:
- a reference to the designer component store, or null.
-