Class AbstractDesignAdapter
java.lang.Object
com.inductiveautomation.perspective.designer.workspace.propertyeditor.AbstractDesignAdapter
- All Implemented Interfaces:
DesignAdapter
- Direct Known Subclasses:
SessionPropsAdapter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
alterEventConfig
(EventConfigChange change) void
alterPropertyConfig
(PropertyConfigChange change, boolean createUndoAction) void
alterPropertyConfigs
(List<PropertyConfigChange> changes, boolean createUndoAction, QualifiedValue lastQualifiedValue) Altering multiple Property Configs is currently only used in the Drawing Editor.void
alterScriptConfig
(ScriptConfigChange change) void
void
applyDrawing
(ApplyDrawingChange change, boolean createUndoAction) protected abstract JavaJsBridge
getComponentDetails
(String componentIndexPath) getSymbolicPath
(String indexPath) void
insertProperty
(InsertPropertyChange change) void
removeChildPropertyConfigs
(String componentIndexPath, PropertyType scope, String propertyPath) void
removeProperty
(RemovePropertyChange change, boolean createUndoAction) void
renameProperty
(RenamePropertyChange change, boolean createUndoAction) void
reorderProperty
(ReorderPropertyChange change) void
void
writeProperties
(WritePropertiesChange change) void
writeProperty
(WritePropertyChange change, boolean createUndoAction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.perspective.designer.api.DesignAdapter
getDeepSelection, getDesignerComponentStore, getEventBus, getSelection, getViewStructure
-
Field Details
-
context
-
-
Constructor Details
-
AbstractDesignAdapter
-
-
Method Details
-
getContext
- Specified by:
getContext
in interfaceDesignAdapter
-
getBridge
-
applyDrawing
- Specified by:
applyDrawing
in interfaceDesignAdapter
-
getSymbolicPath
- Specified by:
getSymbolicPath
in interfaceDesignAdapter
-
getComponentDetails
- Specified by:
getComponentDetails
in interfaceDesignAdapter
-
getEffectivePipeSelectionAppearance
- Specified by:
getEffectivePipeSelectionAppearance
in interfaceDesignAdapter
-
writeProperty
- Specified by:
writeProperty
in interfaceDesignAdapter
-
writeProperties
- Specified by:
writeProperties
in interfaceDesignAdapter
-
insertProperty
- Specified by:
insertProperty
in interfaceDesignAdapter
-
renameProperty
- Specified by:
renameProperty
in interfaceDesignAdapter
-
removeProperty
- Specified by:
removeProperty
in interfaceDesignAdapter
-
reorderProperty
- Specified by:
reorderProperty
in interfaceDesignAdapter
-
removeChildPropertyConfigs
public void removeChildPropertyConfigs(String componentIndexPath, PropertyType scope, String propertyPath) - Specified by:
removeChildPropertyConfigs
in interfaceDesignAdapter
-
alterPropertyConfig
- Specified by:
alterPropertyConfig
in interfaceDesignAdapter
-
alterPropertyConfigs
public void alterPropertyConfigs(List<PropertyConfigChange> changes, boolean createUndoAction, QualifiedValue lastQualifiedValue) Altering multiple Property Configs is currently only used in the Drawing Editor. Default implementation provided so that the Binding Editor when used in both the DrawingEditor and the Designer exercise the same API, though it is unknown if this default implementation will be appropriate for the Designer when used with multiple PropertyConfigChange(s)- Specified by:
alterPropertyConfigs
in interfaceDesignAdapter
-
alterEventConfig
- Specified by:
alterEventConfig
in interfaceDesignAdapter
-
alterScriptConfig
- Specified by:
alterScriptConfig
in interfaceDesignAdapter
-
alterViewPermissions
- Specified by:
alterViewPermissions
in interfaceDesignAdapter
-
sendRaw
- Specified by:
sendRaw
in interfaceDesignAdapter
-