Synergy Home Page

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

Fields inherited from class java.util.EventObject
source
 
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.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 event
selected - the collection of model elements that contributed to the creation of this event
Method Detail

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

Synergy Home Page