Class AbstractDesignAdapter
- java.lang.Object
-
- com.inductiveautomation.perspective.designer.workspace.propertyeditor.AbstractDesignAdapter
-
- All Implemented Interfaces:
DesignAdapter
- Direct Known Subclasses:
SessionPropsAdapter
public abstract class AbstractDesignAdapter extends java.lang.Object implements DesignAdapter
-
-
Field Summary
Fields Modifier and Type Field Description protected DesignerContextcontext
-
Constructor Summary
Constructors Constructor Description AbstractDesignAdapter(DesignerContext context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidalterEventConfig(EventConfigChange change)voidalterPropertyConfig(PropertyConfigChange change, boolean createUndoAction)voidalterScriptConfig(ScriptConfigChange change)voidalterViewPermissions(PermissionsConfig config)protected abstract JavaJsBridgegetBridge()java.util.concurrent.CompletableFuture<ComponentDetails>getComponentDetails(java.lang.String componentIndexPath)DesignerContextgetContext()java.util.concurrent.CompletableFuture<java.lang.String>getEffectivePipeSelectionAppearance()java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>>getSymbolicPath(java.lang.String indexPath)voidinsertProperty(InsertPropertyChange change)voidremoveChildPropertyConfigs(java.lang.String componentIndexPath, PropertyType scope, java.lang.String propertyPath)voidremoveProperty(RemovePropertyChange change, boolean createUndoAction)voidrenameProperty(RenamePropertyChange change, boolean createUndoAction)voidsendRaw(java.lang.String protocol, java.lang.String payloadJson)voidwriteProperties(WritePropertiesChange change)voidwriteProperty(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 Detail
-
context
protected final DesignerContext context
-
-
Constructor Detail
-
AbstractDesignAdapter
public AbstractDesignAdapter(DesignerContext context)
-
-
Method Detail
-
getContext
public DesignerContext getContext()
- Specified by:
getContextin interfaceDesignAdapter
-
getBridge
protected abstract JavaJsBridge getBridge()
-
getSymbolicPath
public java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> getSymbolicPath(java.lang.String indexPath)
- Specified by:
getSymbolicPathin interfaceDesignAdapter
-
getComponentDetails
public java.util.concurrent.CompletableFuture<ComponentDetails> getComponentDetails(java.lang.String componentIndexPath)
- Specified by:
getComponentDetailsin interfaceDesignAdapter
-
getEffectivePipeSelectionAppearance
public java.util.concurrent.CompletableFuture<java.lang.String> getEffectivePipeSelectionAppearance()
- Specified by:
getEffectivePipeSelectionAppearancein interfaceDesignAdapter
-
writeProperty
public void writeProperty(WritePropertyChange change, boolean createUndoAction)
- Specified by:
writePropertyin interfaceDesignAdapter
-
writeProperties
public void writeProperties(WritePropertiesChange change)
- Specified by:
writePropertiesin interfaceDesignAdapter
-
insertProperty
public void insertProperty(InsertPropertyChange change)
- Specified by:
insertPropertyin interfaceDesignAdapter
-
renameProperty
public void renameProperty(RenamePropertyChange change, boolean createUndoAction)
- Specified by:
renamePropertyin interfaceDesignAdapter
-
removeProperty
public void removeProperty(RemovePropertyChange change, boolean createUndoAction)
- Specified by:
removePropertyin interfaceDesignAdapter
-
removeChildPropertyConfigs
public void removeChildPropertyConfigs(java.lang.String componentIndexPath, PropertyType scope, java.lang.String propertyPath)- Specified by:
removeChildPropertyConfigsin interfaceDesignAdapter
-
alterPropertyConfig
public void alterPropertyConfig(PropertyConfigChange change, boolean createUndoAction)
- Specified by:
alterPropertyConfigin interfaceDesignAdapter
-
alterEventConfig
public void alterEventConfig(EventConfigChange change)
- Specified by:
alterEventConfigin interfaceDesignAdapter
-
alterScriptConfig
public void alterScriptConfig(ScriptConfigChange change)
- Specified by:
alterScriptConfigin interfaceDesignAdapter
-
alterViewPermissions
public void alterViewPermissions(PermissionsConfig config)
- Specified by:
alterViewPermissionsin interfaceDesignAdapter
-
sendRaw
public void sendRaw(java.lang.String protocol, java.lang.String payloadJson)- Specified by:
sendRawin interfaceDesignAdapter
-
-