Class ComponentSelection
java.lang.Object
com.inductiveautomation.ignition.common.util.AbstractChangeable
com.inductiveautomation.perspective.designer.workspace.ComponentSelection
- All Implemented Interfaces:
 Changeable
- 
Field Summary
Fields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
changeEvent, listenerList - 
Constructor Summary
ConstructorsConstructorDescriptionComponentSelection(ComponentRegistry registry) ComponentSelection(DesignAdapter support, String rootViewPath, List<ComponentDetails> details, ComponentRegistry registry)  - 
Method Summary
Modifier 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.AbstractChangeable
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListener 
- 
Constructor Details
- 
ComponentSelection
 - 
ComponentSelection
public 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
 - 
write
Write 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
 - 
isEmpty
public boolean isEmpty() - 
getSelectionCount
public int getSelectionCount() - 
isSession
public boolean isSession() - 
isView
public boolean isView() - 
isComponents
public boolean isComponents() - 
isSiblings
public 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.
 
 - 
containsRootContainer
public boolean containsRootContainer() - 
getPropsSchema
 - 
getPositionSchema
 - 
getDesignDelegate
 
 -