com.togethersoft.openapi.modelselection
Interface SelectionService


public interface SelectionService

Author:
TogetherSoft

Method Summary
 voidaddSelectionElement(Element el)
           
 voidaddSelectionElements(ElementEnumeration enum)
           
 voidaddSelectionListener(SelectionListener listener)
           
 voidclearSelection()
           
 ReferenceCollectiongetCollection()
           
 booleanisSelectedElement(Element el)
          Returns true if the specified element is selected.
 booleanisSelectionEmpty()
          Returns true if no elements are selected.
 ReferenceEnumerationreferences()
           
 voidremoveSelectionElement(Element el)
           
 voidremoveSelectionElements(ElementEnumeration enum)
           
 voidremoveSelectionListener(SelectionListener listener)
           

Method Detail

addSelectionElement

public void addSelectionElement(Element el)

addSelectionElements

public void addSelectionElements(ElementEnumeration enum)

addSelectionListener

public void addSelectionListener(SelectionListener listener)

clearSelection

public void clearSelection()

getCollection

public ReferenceCollection getCollection()

isSelectedElement

public boolean isSelectedElement(Element el)
Returns true if the specified element is selected.

isSelectionEmpty

public boolean isSelectionEmpty()
Returns true if no elements are selected.

references

public ReferenceEnumeration references()

removeSelectionElement

public void removeSelectionElement(Element el)

removeSelectionElements

public void removeSelectionElements(ElementEnumeration enum)

removeSelectionListener

public void removeSelectionListener(SelectionListener listener)