Class SessionPropsAdapter
- java.lang.Object
- 
- com.inductiveautomation.perspective.designer.workspace.propertyeditor.AbstractDesignAdapter
- 
- com.inductiveautomation.perspective.designer.workspace.pageconfig.SessionPropsAdapter
 
 
- 
- All Implemented Interfaces:
- DesignAdapter
 
 public class SessionPropsAdapter extends AbstractDesignAdapter 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classSessionPropsAdapter.SessionAdapterBridge
 - 
Field SummaryFields Modifier and Type Field Description SessionPropsAdapter.SessionAdapterBridgebridge- 
Fields inherited from class com.inductiveautomation.perspective.designer.workspace.propertyeditor.AbstractDesignAdaptercontext
 
- 
 - 
Constructor SummaryConstructors Constructor Description SessionPropsAdapter(ViewWorkspace workspace)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidalterPropertyConfig(PropertyConfigChange change, boolean createUndoAction)voidalterViewPermissions(PermissionsConfig config)voidcommit()Called by the workspace right before a save occurs, so we can commit the session props to the local projectJavaJsBridgegetBridge()DeepSelectiongetDeepSelection()com.teamdev.jxbrowser.js.JsObjectgetDesignerComponentStore()Expected to be non-null iff the results ofDesignAdapter.getDeepSelection()are non-null.com.google.common.eventbus.EventBusgetEventBus()Event bus that can be used to listen to the following event types:SelectionChangeEventDeepSelectionChangeEventDeepSelectionUpdateEventSelectionPropertyUpdateEventEditorShutdownEventComponentSelectiongetSelection()java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>>getSymbolicPath(java.lang.String indexPath)ViewStructuregetViewStructure()voidshutdown()- 
Methods inherited from class com.inductiveautomation.perspective.designer.workspace.propertyeditor.AbstractDesignAdapteralterEventConfig, alterScriptConfig, getComponentDetails, getContext, getEffectivePipeSelectionAppearance, insertProperty, removeChildPropertyConfigs, removeProperty, renameProperty, sendRaw, writeProperties, writeProperty
 
- 
 
- 
- 
- 
Field Detail- 
bridgepublic final SessionPropsAdapter.SessionAdapterBridge bridge 
 
- 
 - 
Constructor Detail- 
SessionPropsAdapterpublic SessionPropsAdapter(ViewWorkspace workspace) 
 
- 
 - 
Method Detail- 
commitpublic void commit() Called by the workspace right before a save occurs, so we can commit the session props to the local project
 - 
getBridgepublic JavaJsBridge getBridge() - Specified by:
- getBridgein class- AbstractDesignAdapter
 
 - 
shutdownpublic void shutdown() 
 - 
getEventBuspublic com.google.common.eventbus.EventBus getEventBus() Description copied from interface:DesignAdapterEvent bus that can be used to listen to the following event types:SelectionChangeEventDeepSelectionChangeEventDeepSelectionUpdateEventSelectionPropertyUpdateEventEditorShutdownEvent
 - 
getSelectionpublic ComponentSelection getSelection() 
 - 
getSymbolicPathpublic java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> getSymbolicPath(java.lang.String indexPath) - Specified by:
- getSymbolicPathin interface- DesignAdapter
- Overrides:
- getSymbolicPathin class- AbstractDesignAdapter
 
 - 
getViewStructurepublic ViewStructure getViewStructure() 
 - 
alterViewPermissionspublic void alterViewPermissions(PermissionsConfig config) - Specified by:
- alterViewPermissionsin interface- DesignAdapter
- Overrides:
- alterViewPermissionsin class- AbstractDesignAdapter
 
 - 
alterPropertyConfigpublic void alterPropertyConfig(PropertyConfigChange change, boolean createUndoAction) - Specified by:
- alterPropertyConfigin interface- DesignAdapter
- Overrides:
- alterPropertyConfigin class- AbstractDesignAdapter
 
 - 
getDeepSelection@Nullable public DeepSelection getDeepSelection() 
 - 
getDesignerComponentStore@Nullable public com.teamdev.jxbrowser.js.JsObject getDesignerComponentStore() Description copied from interface:DesignAdapterExpected to be non-null iff the results ofDesignAdapter.getDeepSelection()are non-null.- Returns:
- a reference to the designer component store, or null.
 
 
- 
 
-