Interface ISelectionManager
public interface ISelectionManager
Interface to describe a selection manager object.
- Since:
- 2.0, 9/11/2010
- Version:
- 1.0
- Author:
- vlygeros
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()Clears the current selection.booleandeselect(ISelectionSupport element) Allows to deselect aIDesignElementobject.Gets the selected design elements.Gets the first element of the selection.booleanChecks if a multiple selection is allowed.booleanselect(ISelectionSupport element) Allows to select aIDesignElementobject.voidsetMultiSelect(boolean multiSelect) Sets multiple selection
- 
Method Details- 
isMultiSelectboolean isMultiSelect()Checks if a multiple selection is allowed.- Returns:
- true if multiple, false otherwise.
 
- 
setMultiSelectvoid setMultiSelect(boolean multiSelect) Sets multiple selection- Parameters:
- multiSelect- : if true, the selection is multiple, single otherwise
 
- 
getSelectionCollection<ISelectionSupport> getSelection()Gets the selected design elements.- Returns:
- A collection of ISelectionSupportobjects.
 
- 
getSingleSelectionISelectionSupport getSingleSelection()Gets the first element of the selection.- Returns:
- A ISelectionSupportobject.
 
- 
selectAllows to select aIDesignElementobject.- Parameters:
- element- The design element as a- ISelectionSupportobject.
- Returns:
- true if the design element is selected, false otherwise.
 
- 
deselectAllows to deselect aIDesignElementobject.- Parameters:
- element- The design element as a- ISelectionSupportobject.
- Returns:
- true if the design element was selected, false otherwise.
 
- 
clearvoid clear()Clears the current selection.
 
-