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.JsonObject
com.inductiveautomation.ignition.common.gson.JsonObject
getProps()
void
updateDesignerState
(com.inductiveautomation.ignition.common.gson.JsonElement write) Calls updateDesignerState with the given object.void
writeToProps
(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
-
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:
getProps
in interfaceDesignerComponentStoreBridge
- Returns:
- the props of the deeply selected component.
-
getDesignerState
public com.inductiveautomation.ignition.common.gson.JsonObject getDesignerState()- Specified by:
getDesignerState
in 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:DesignerComponentStoreBridge
Calls updateDesignerState with the given object. The values in the object will be merged in with the existing- Specified by:
updateDesignerState
in interfaceDesignerComponentStoreBridge
-
writeToProps
public void writeToProps(String path, com.inductiveautomation.ignition.common.gson.JsonElement write) - Specified by:
writeToProps
in interfaceDesignerComponentStoreBridge
-