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 Constructor Description DesignerComponentStoreBridgeImpl(com.teamdev.jxbrowser.js.JsObject store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.inductiveautomation.ignition.common.gson.JsonObjectgetDesignerState()com.inductiveautomation.ignition.common.gson.JsonObjectgetProps()voidupdateDesignerState(com.inductiveautomation.ignition.common.gson.JsonElement write)Calls updateDesignerState with the given object.voidwriteToProps(java.lang.String path, com.inductiveautomation.ignition.common.gson.JsonElement write)-
Methods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.common.util.Changeable
addChangeListener, removeChangeListener
-
-
-
-
Method Detail
-
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(java.lang.String path, com.inductiveautomation.ignition.common.gson.JsonElement write)- Specified by:
writeToPropsin interfaceDesignerComponentStoreBridge
-
-