au.edu.swin.synergy.plugin.modeller.event
Class BSelectionEvent
java.lang.Object
|
+--java.util.EventObject
|
+--au.edu.swin.synergy.plugin.modeller.event.BSelectionEvent
- public class BSelectionEvent
- extends EventObject
A custom event used to indicate when a model element, or group of model
elements, have been selected in the Model Editor
- Author:
- Mattehw Evans
- See Also:
- Serialized Form
Constructor Summary |
BSelectionEvent(Object source,
Vector selected)
Creates an instance of this event with a reference to the source of the event
and the collection of currently selected model elements on 'source' |
Method Summary |
Vector |
getSelected()
Used to retrieve the collection of selected elements that contirbuted to
the creation of an instance of this event. |
BSelectionEvent
public BSelectionEvent(Object source,
Vector selected)
- Creates an instance of this event with a reference to the source of the event
and the collection of currently selected model elements on 'source'
- Parameters:
source
- the source of this eventselected
- the collection of model elements that contributed to the creation of this event
getSelected
public Vector getSelected()
- Used to retrieve the collection of selected elements that contirbuted to
the creation of an instance of this event.
- Returns:
- collection of currently selected model elements in the model editor