Interface DesignAdapter
- 
- All Known Implementing Classes:
- AbstractDesignAdapter,- SessionPropsAdapter
 
 public interface DesignAdapterContains methods and events that are used to design a view in the perspective workspace.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidalterEventConfig(EventConfigChange change)voidalterPropertyConfig(PropertyConfigChange change, boolean createUndoAction)voidalterScriptConfig(ScriptConfigChange change)voidalterViewPermissions(PermissionsConfig config)java.util.concurrent.CompletableFuture<ComponentDetails>getComponentDetails(java.lang.String componentIndexPath)DesignerContextgetContext()DeepSelectiongetDeepSelection()com.teamdev.jxbrowser.js.JsObjectgetDesignerComponentStore()Expected to be non-null iff the results ofgetDeepSelection()are non-null.java.util.concurrent.CompletableFuture<java.lang.String>getEffectivePipeSelectionAppearance()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()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)
 
- 
- 
- 
Method Detail- 
getContextDesignerContext getContext() 
 - 
getEventBuscom.google.common.eventbus.EventBus getEventBus() Event bus that can be used to listen to the following event types:SelectionChangeEventDeepSelectionChangeEventDeepSelectionUpdateEventSelectionPropertyUpdateEventEditorShutdownEvent
 - 
getSymbolicPathjava.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> getSymbolicPath(java.lang.String indexPath) 
 - 
getComponentDetailsjava.util.concurrent.CompletableFuture<ComponentDetails> getComponentDetails(java.lang.String componentIndexPath) 
 - 
getEffectivePipeSelectionAppearancejava.util.concurrent.CompletableFuture<java.lang.String> getEffectivePipeSelectionAppearance() 
 - 
getDeepSelection@Nullable DeepSelection getDeepSelection() 
 - 
getDesignerComponentStore@Nullable com.teamdev.jxbrowser.js.JsObject getDesignerComponentStore() Expected to be non-null iff the results ofgetDeepSelection()are non-null.- Returns:
- a reference to the designer component store, or null.
 
 - 
getSelectionComponentSelection getSelection() 
 - 
getViewStructureViewStructure getViewStructure() 
 - 
writePropertyvoid writeProperty(WritePropertyChange change, boolean createUndoAction) 
 - 
writePropertiesvoid writeProperties(WritePropertiesChange change) 
 - 
insertPropertyvoid insertProperty(InsertPropertyChange change) 
 - 
renamePropertyvoid renameProperty(RenamePropertyChange change, boolean createUndoAction) 
 - 
removePropertyvoid removeProperty(RemovePropertyChange change, boolean createUndoAction) 
 - 
removeChildPropertyConfigsvoid removeChildPropertyConfigs(java.lang.String componentIndexPath, PropertyType scope, java.lang.String propertyPath)
 - 
alterPropertyConfigvoid alterPropertyConfig(PropertyConfigChange change, boolean createUndoAction) 
 - 
alterEventConfigvoid alterEventConfig(EventConfigChange change) 
 - 
alterScriptConfigvoid alterScriptConfig(ScriptConfigChange change) 
 - 
alterViewPermissionsvoid alterViewPermissions(PermissionsConfig config) 
 - 
sendRawvoid sendRaw(java.lang.String protocol, java.lang.String payloadJson)
 
- 
 
-