Class DesignerComponentStoreBridgeImpl
java.lang.Object
com.inductiveautomation.ignition.common.util.AbstractChangeable
com.inductiveautomation.perspective.designer.workspace.propertyeditor.DesignerComponentStoreBridgeImpl
- All Implemented Interfaces:
Changeable,DesignerComponentStoreBridge
public class DesignerComponentStoreBridgeImpl
extends AbstractChangeable
implements DesignerComponentStoreBridge
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
changeEvent, listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.inductiveautomation.ignition.common.gson.JsonObjectcom.inductiveautomation.ignition.common.gson.JsonObjectgetProps()voidupdateDesignerState(com.inductiveautomation.ignition.common.gson.JsonElement write) Calls updateDesignerState with the given object.voidwriteToProps(String path, com.inductiveautomation.ignition.common.gson.JsonElement write) Methods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.common.util.Changeable
addChangeListener, removeChangeListener
-
Constructor Details
-
DesignerComponentStoreBridgeImpl
public DesignerComponentStoreBridgeImpl(@Nonnull com.teamdev.jxbrowser.js.JsObject store)
-
-
Method Details
-
getProps
public com.inductiveautomation.ignition.common.gson.JsonObject getProps()- Specified by:
getPropsin interfaceDesignerComponentStoreBridge- Returns:
- the props of the deeply selected component.
-
getDesignerState
public com.inductiveautomation.ignition.common.gson.JsonObject getDesignerState()- Specified by:
getDesignerStatein interfaceDesignerComponentStoreBridge- Returns:
- The designerState structure of the deeply selected component.
-
updateDesignerState
public void updateDesignerState(com.inductiveautomation.ignition.common.gson.JsonElement write) Description copied from interface:DesignerComponentStoreBridgeCalls updateDesignerState with the given object. The values in the object will be merged in with the existing- Specified by:
updateDesignerStatein interfaceDesignerComponentStoreBridge
-
writeToProps
public void writeToProps(String path, com.inductiveautomation.ignition.common.gson.JsonElement write) - Specified by:
writeToPropsin interfaceDesignerComponentStoreBridge
-