Class ViewEditorJsBridge
java.lang.Object
com.inductiveautomation.perspective.designer.workspace.JavaJsBridge
com.inductiveautomation.perspective.designer.workspace.ViewEditorJsBridge
Subclass of JavaJsBridge for the view editor, to provide the link between the methods defined in the bridge and
the editing of the view.
-
Field Summary
Fields inherited from class com.inductiveautomation.perspective.designer.workspace.JavaJsBridge
gson, log -
Constructor Summary
ConstructorsConstructorDescriptionViewEditorJsBridge(com.teamdev.jxbrowser.browser.Browser browser, ViewResourceEditor editor) -
Method Summary
Modifier and TypeMethodDescriptionvoidalterViewPermissions(PermissionsConfig permissionsConfig) protected Stringprotected DesignerContextprotected SessionPropsConfigprotected ViewConfigprotected ViewConfiggetViewConfigInternal(String resourcePath) protected Stringprotected voidprotected voidonContextMenuInternal(Point point, boolean canConvertToDrawing, boolean isDrawing, boolean isSvg, boolean isView) voidonConvertToDrawing(String path, String name, String position, String svgSource, boolean pipeMode) protected voidonDeepSelectionChangeInternal(DeepSelection deepSelection, com.teamdev.jxbrowser.js.JsObject storeObject) protected voidvoidonImageDropped(String imageJson, String dropPointJson) protected voidonPipeModeChangeInternal(String pipeMode) protected voidonPipeSelectionChangeInternal(List<PipeSelectionDetail> details, boolean replaceComponentSelection) protected voidonSelectionChangeInternal(String rootViewPath, List<ComponentDetails> details) protected voidprotected voidprotected voidonStructureChangeInternal(ViewStructure structure) voidonSvgDropped(String name, String svgSource, String dropPointJson) voidonTagsDropped(String path, String tagJson, String dropPointJson, String modifiers) voidonUndoableAction(String key, String json) Methods inherited from class com.inductiveautomation.perspective.designer.workspace.JavaJsBridge
activateComponentTool, activateComponentTool, addComponents, addComponents, addComponentsToContainer, alignSelectedComponents, alterEventConfig, alterPropertyConfig, alterScriptConfig, convertComponentToDrawing, convertPipesToDrawing, convertSelectionToDrawing, copyJsonToClipboard, copySelectedPipe, copySelection, cutJsonToClipboard, deleteComponents, deleteSelected, deleteSelectedPipeConnection, deleteSelectedPipes, disableEditorEvents, enableEditorEvents, flattenSelectedSvg, flattenSvg, getChildPositionDefaults, getComponentBaseName, getComponentDetails, getEffectivePipeSelectionAppearance, getForSave, getInitMsg, getOwnViewConfig, getOwnViewPath, getPropertyDefaults, getSessionProps, getStyles, getSymbolicPath, getSymbolStyles, getViewConfig, insertProperty, invokeStoreFunction, notifyViewUpdated, onBindingPreviewValue, onContextMenu, onDeepSelectionChange, onDeepSelectionPropsUpdated, onErrorMessage, onPipeModeChange, onPipeSelectionChange, onSelectionChange, onSelectionConfigUpdated, onSelectionPropertyChange, onStructureChange, pasteJsonFromClipboard, pastePipes, reloadSymbolStyles, removeChildPropertyConfigs, removeProperty, renameProperty, reorderProperty, reorderSelectedComponents, replaceComponent, replaceComponentFromClipboard, sendRaw, setChildrenIndexes, setDeepSelection, setPipeMode, setPipeSelection, setPreview, setSelection, shutdown, stylesUpdated, wrapComponent, writeProperties, writeProperty
-
Constructor Details
-
ViewEditorJsBridge
-
-
Method Details
-
getContextInternal
- Specified by:
getContextInternalin classJavaJsBridge
-
getBridgeDesc
- Specified by:
getBridgeDescin classJavaJsBridge
-
getViewPathInternal
- Specified by:
getViewPathInternalin classJavaJsBridge
-
getViewConfigInternal
- Specified by:
getViewConfigInternalin classJavaJsBridge
-
getSessionPropsInternal
- Specified by:
getSessionPropsInternalin classJavaJsBridge
-
onStructureChangeInternal
- Specified by:
onStructureChangeInternalin classJavaJsBridge
-
alterViewPermissions
- Specified by:
alterViewPermissionsin classJavaJsBridge
-
getViewPermissions
- Specified by:
getViewPermissionsin classJavaJsBridge
-
onBindingPreviewValueInternal
- Specified by:
onBindingPreviewValueInternalin classJavaJsBridge
-
onDeepSelectionChangeInternal
protected void onDeepSelectionChangeInternal(DeepSelection deepSelection, com.teamdev.jxbrowser.js.JsObject storeObject) - Specified by:
onDeepSelectionChangeInternalin classJavaJsBridge
-
onDeepSelectionPropsUpdatedInternal
- Specified by:
onDeepSelectionPropsUpdatedInternalin classJavaJsBridge
-
onSelectionChangeInternal
- Specified by:
onSelectionChangeInternalin classJavaJsBridge
-
onSelectionPropertyChangeInternal
- Specified by:
onSelectionPropertyChangeInternalin classJavaJsBridge
-
onPipeModeChangeInternal
- Specified by:
onPipeModeChangeInternalin classJavaJsBridge
-
onPipeSelectionChangeInternal
protected void onPipeSelectionChangeInternal(List<PipeSelectionDetail> details, boolean replaceComponentSelection) - Specified by:
onPipeSelectionChangeInternalin classJavaJsBridge
-
onSelectionConfigUpdatedInternal
- Specified by:
onSelectionConfigUpdatedInternalin classJavaJsBridge
-
onContextMenuInternal
protected void onContextMenuInternal(Point point, boolean canConvertToDrawing, boolean isDrawing, boolean isSvg, boolean isView) - Specified by:
onContextMenuInternalin classJavaJsBridge
-
onImageDropped
- Overrides:
onImageDroppedin classJavaJsBridge
-
onConvertToDrawing
public void onConvertToDrawing(String path, String name, String position, String svgSource, boolean pipeMode) - Overrides:
onConvertToDrawingin classJavaJsBridge
-
onSvgDropped
- Overrides:
onSvgDroppedin classJavaJsBridge
-
onTagsDropped
- Overrides:
onTagsDroppedin classJavaJsBridge
-
onUndoableAction
- Overrides:
onUndoableActionin classJavaJsBridge
-
getViewConfigInternal
- Specified by:
getViewConfigInternalin classJavaJsBridge
-