Class ComponentSelection
java.lang.Object
com.inductiveautomation.ignition.common.util.AbstractChangeable
com.inductiveautomation.perspective.designer.workspace.ComponentSelection
- All Implemented Interfaces:
- Changeable
- 
Field SummaryFields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeablechangeEvent, listenerList
- 
Constructor SummaryConstructorsConstructorDescriptionComponentSelection(ComponentRegistry registry) ComponentSelection(DesignAdapter support, String rootViewPath, List<ComponentDetails> details, ComponentRegistry registry) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetPaths()com.inductiveautomation.ignition.common.gson.JsonObjectgetScope(PropertyType scope) intbooleanbooleanisEmpty()booleanbooleanbooleanisView()voidremoveChildPropertyConfigs(PropertyType scope, String propertyPath) voidremoveProperty(PropertyType scope, String pathToParent, int index) voidremoveProperty(PropertyType scope, String pathToParent, String name) voidrenameProperty(PropertyType scope, String pathToParent, String oldName, String newName) voidupdateConfigs(List<ComponentDetails> newDetails) voidwrite(PropertyType scope, String propertyPath, String valueAsJson) Write the same value to each component in the selection.Methods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeableaddChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
- 
Constructor Details- 
ComponentSelection
- 
ComponentSelectionpublic ComponentSelection(@Nullable DesignAdapter support, @Nullable String rootViewPath, @Nullable List<ComponentDetails> details, @Nonnull ComponentRegistry registry) 
 
- 
- 
Method Details- 
updateConfigs
- 
getComponentTypes
- 
getDeepSelection
- 
getAnchorEventConfig
- 
getAnchorScriptConfig
- 
getAnchorPropertyConfigCollection
- 
getRootViewPath
- 
getPaths
- 
getComponentDetails
- 
writeWrite the same value to each component in the selection.
- 
renameProperty
- 
removeProperty
- 
removeProperty
- 
removeChildPropertyConfigs
- 
getAnchorPath- Returns:
- The index path of the first component path in the selection
 
- 
getAnchorType- Returns:
- The component type of the first component in the selection
 
- 
getScope
- 
isEmptypublic boolean isEmpty()
- 
getSelectionCountpublic int getSelectionCount()
- 
isSessionpublic boolean isSession()
- 
isViewpublic boolean isView()
- 
isComponentspublic boolean isComponents()
- 
isSiblingspublic boolean isSiblings()- Returns:
- true if the current selection represents non-view components that are siblings. Note that a view is not considered a component in this sense.
 
- 
containsRootContainerpublic boolean containsRootContainer()
- 
getPropsSchema
- 
getPositionSchema
- 
getDesignDelegate
 
-