Interface DesignAdapter
- All Known Implementing Classes:
- AbstractDesignAdapter,- SessionPropsAdapter
public interface DesignAdapter
Contains methods and events that are used to design a view in the perspective workspace.
- 
Method SummaryModifier and TypeMethodDescriptionvoidalterEventConfig(EventConfigChange change) voidalterPropertyConfig(PropertyConfigChange change, boolean createUndoAction) voidalterScriptConfig(ScriptConfigChange change) voidgetComponentDetails(String componentIndexPath) com.teamdev.jxbrowser.js.JsObjectExpected to be non-null if the results ofgetDeepSelection()are non-null.com.google.common.eventbus.EventBusEvent bus that can be used to listen to the following event types:SelectionChangeEventDeepSelectionChangeEventDeepSelectionUpdateEventSelectionPropertyUpdateEventEditorShutdownEventgetSymbolicPath(String indexPath) voidinsertProperty(InsertPropertyChange change) voidremoveChildPropertyConfigs(String componentIndexPath, PropertyType scope, String propertyPath) voidremoveProperty(RemovePropertyChange change, boolean createUndoAction) voidrenameProperty(RenamePropertyChange change, boolean createUndoAction) voidvoidwriteProperties(WritePropertiesChange change) voidwriteProperty(WritePropertyChange change, boolean createUndoAction) 
- 
Method Details- 
getContextDesignerContext getContext()
- 
getEventBuscom.google.common.eventbus.EventBus getEventBus()Event bus that can be used to listen to the following event types:SelectionChangeEventDeepSelectionChangeEventDeepSelectionUpdateEventSelectionPropertyUpdateEventEditorShutdownEvent
- 
getSymbolicPath
- 
getComponentDetails
- 
getEffectivePipeSelectionAppearanceCompletableFuture<String> getEffectivePipeSelectionAppearance()
- 
getDeepSelection
- 
getDesignerComponentStore@Nullable com.teamdev.jxbrowser.js.JsObject getDesignerComponentStore()Expected to be non-null if the results ofgetDeepSelection()are non-null.- Returns:
- a reference to the designer component store, or null.
 
- 
getSelectionComponentSelection getSelection()
- 
getViewStructureViewStructure getViewStructure()
- 
writeProperty
- 
writeProperties
- 
insertProperty
- 
renameProperty
- 
removeProperty
- 
removeChildPropertyConfigs
- 
alterPropertyConfig
- 
alterEventConfig
- 
alterScriptConfig
- 
alterViewPermissions
- 
sendRaw
 
-