|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.common.ui.services.elementselection.MatchingObjectEvent
public class MatchingObjectEvent
A matching object event for the element selection service.
The element selection service returns IMatchingObjectEvent to the IElementSelectionListener. If there are ten matching objects, then eleven IMatchingObjectEvent will be sent to the listener. The first ten will have type MatchingObjectEventType.MATCH and will have a matching object. The eleventh event will have type MatchingObjectEventType.END_OF_MATCHES.
Constructor Summary | |
---|---|
MatchingObjectEvent(MatchingObjectEventType eventType,
IMatchingObject matchingObject)
Constructor for a MatchingObjectEvent. |
Method Summary | |
---|---|
MatchingObjectEventType |
getEventType()
Retrieve the matching object event type. |
IMatchingObject |
getMatchingObject()
Retrieve the matching object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MatchingObjectEvent(MatchingObjectEventType eventType, IMatchingObject matchingObject)
eventType
- the matching object event type.matchingObject
- the matching object.Method Detail |
---|
public MatchingObjectEventType getEventType()
getEventType
in interface IMatchingObjectEvent
public IMatchingObject getMatchingObject()
getMatchingObject
in interface IMatchingObjectEvent
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.