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 TypeMethodDescriptionvoid
alterEventConfig
(EventConfigChange change) void
alterPropertyConfig
(PropertyConfigChange change, boolean createUndoAction) void
alterScriptConfig
(ScriptConfigChange change) void
getComponentDetails
(String componentIndexPath) com.teamdev.jxbrowser.js.JsObject
Expected to be non-null if the results ofgetDeepSelection()
are non-null.com.google.common.eventbus.EventBus
Event bus that can be used to listen to the following event types:SelectionChangeEvent
DeepSelectionChangeEvent
DeepSelectionUpdateEvent
SelectionPropertyUpdateEvent
EditorShutdownEvent
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
void
writeProperties
(WritePropertiesChange change) void
writeProperty
(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:SelectionChangeEvent
DeepSelectionChangeEvent
DeepSelectionUpdateEvent
SelectionPropertyUpdateEvent
EditorShutdownEvent
-
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
-
removeChildPropertyConfigs
-
alterPropertyConfig
-
alterEventConfig
-
alterScriptConfig
-
alterViewPermissions
-
sendRaw
-