|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.validation.service.ConstraintChangeEvent
public class ConstraintChangeEvent
Event notifying IConstraintListeners that a constraint has been
changed.
This class is not intended to be extended or instantiated by clients.
| Constructor Summary | |
|---|---|
ConstraintChangeEvent(IConstraintDescriptor constraint,
ConstraintChangeEventType eventType)
Initializes me with the constraint that has changed and the event that details the change. |
|
ConstraintChangeEvent(IConstraintDescriptor constraint,
ConstraintChangeEventType eventType,
Category category)
Initializes me with the constraint that has changed, an event that details the change and the category associated with the event. |
|
| Method Summary | |
|---|---|
Category |
getCategory()
Obtains Category associated with this event |
IConstraintDescriptor |
getConstraint()
Obtains IConstraintDescriptor of the constraint associated with
the event |
ConstraintChangeEventType |
getEventType()
Obtains ConstraintChangeEventType that details the event |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstraintChangeEvent(IConstraintDescriptor constraint,
ConstraintChangeEventType eventType,
Category category)
constraint - the constraint that has changedeventType - the event that details the constraint changecategory - the category associated with the event (if eventType is
ConstraintChangeEventType.ADDED_CATEGORY or
ConstraintChangeEventType.REMOVED_CATEGORY)
public ConstraintChangeEvent(IConstraintDescriptor constraint,
ConstraintChangeEventType eventType)
constraint - the constraint that has changedeventType - the event that details the constraint change| Method Detail |
|---|
public IConstraintDescriptor getConstraint()
IConstraintDescriptor of the constraint associated with
the event
public ConstraintChangeEventType getEventType()
ConstraintChangeEventType that details the event
public Category getCategory()
Category associated with this event
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||