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 Summary
Modifier 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) voidreorderProperty(ReorderPropertyChange change) voidvoidwriteProperties(WritePropertiesChange change) voidwriteProperty(WritePropertyChange change, boolean createUndoAction)
-
Method Details
-
getContext
DesignerContext getContext() -
getEventBus
com.google.common.eventbus.EventBus getEventBus()Event bus that can be used to listen to the following event types:SelectionChangeEventDeepSelectionChangeEventDeepSelectionUpdateEventSelectionPropertyUpdateEventEditorShutdownEvent -
getSymbolicPath
-
getComponentDetails
-
getEffectivePipeSelectionAppearance
CompletableFuture<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.
-
getSelection
ComponentSelection getSelection() -
getViewStructure
ViewStructure getViewStructure() -
writeProperty
-
writeProperties
-
insertProperty
-
renameProperty
-
removeProperty
-
reorderProperty
-
removeChildPropertyConfigs
-
alterPropertyConfig
-
alterEventConfig
-
alterScriptConfig
-
alterViewPermissions
-
sendRaw
-