public class RelationshipSelectionEvent extends EventObject
IRelationshipSelectionModel.| Modifier and Type | Class and Description |
|---|---|
static class |
RelationshipSelectionEvent.ID
An enum with the different types of events that can occure.
|
source| Constructor and Description |
|---|
RelationshipSelectionEvent(IRelationshipSelectionModel model,
RelationshipSelectionEvent.ID id,
Collection<IRelationship> relationships)
Constructs a new selection event.
|
| Modifier and Type | Method and Description |
|---|---|
RelationshipSelectionEvent.ID |
getId()
Returns the event ID that specifies the type of the event (add, remove).
|
Collection<IRelationship> |
getRelationships()
Returns the relationships that were added or removed to the selection
model.
|
getSource, toStringpublic RelationshipSelectionEvent(IRelationshipSelectionModel model, RelationshipSelectionEvent.ID id, Collection<IRelationship> relationships)
model - the model where the event occuredid - the type of event (add, remove)relationships - the affected relationshipspublic RelationshipSelectionEvent.ID getId()
public Collection<IRelationship> getRelationships()
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.