public class ResolveReferencesEvent extends GEvent
This event is not passed the normal event channel, it is sent directly to the property.
Property containers call all its children with this event using
Two events are sent with the same event ID, but with different options, the first one is sent in the order
of: SELF, LISTENER, CHILDREN. To check if it's the first event, verify that
isPostResolving() is false.
This event makes sure that a property performs its own reference resolving before passing it on further down to
its children. It is e.g. used to handle the VSReference property for a Web Service, followed by VSRelativeReference
in the Web Service children properties. In this case it is important that VSReference is resolved before
The second event has the flag returned by
isPostResolving() set to true. The event order is:
CHILDREN, LISTENER, SELF. It gives the property an opportunity to collect results from the resolve process of
its children in order to e.g. create error markers in Eclipse for resources.
The Event ID is GEvent.PROP_RESOLVE_REFERENCES.
PROP_ADDED, PROP_ATTR_CHANGED, PROP_CNR_ADDED, PROP_CNR_FOCUS, PROP_CNR_MOVED, PROP_CNR_RENAMED, PROP_DESIGNER_ASSET_CHANGED, PROP_DESIGNER_JAVA_CLASS_CHANGED, PROP_DESIGNER_JAVA_METHOD_RENAMED, PROP_DESIGNER_KSTRING, PROP_DESIGNER_VIEWER_UPDATE, PROP_DESIGNER_VS_REFERENCE, PROP_DISPOSED, PROP_FOCUS, PROP_MOVED_FROM, PROP_MOVED_TO, PROP_PROJECT_RENAMED, PROP_QUERY_DESIGNER_PROPS, PROP_REFRESH, PROP_REMOVED, PROP_RENAMED, PROP_REORDERED, PROP_RESOLVE_REFERENCES_DIRECT, PROP_VALUE_CHANGED, REMOTE
|Constructor and Description|
Constructs a new Resolve References event with the specified
|Modifier and Type||Method and Description|
Gets the flag to force a re-check of the reference, even resolved ones.
Gets the Operations order describing what Operation the property that receives the event should process.
Checks if event is a post-reference resolve event flavor, i.e.
addPostProcessor, cancel, consume, getAlternateDestination, getEventID, getEventName, getEventName, getEventTarget, getOperation, getPostProcessors, getSender, getSource, getTrigger, isCancelled, isClearCacheEvent, isConsumed, isEventProcessed, isPropertyChange, isPropertyChange, isPropertyChange, isPropertyChangeIn, isPropertyChangeInTree, isRefreshEvent, isRemoteInduced, isVerifyEvent, paramString, send, send, sendSelf, setInitialProperty, setOperation, setProgressMonitor, toString
public ResolveReferencesEvent(PropCnr root, boolean doReCheck, boolean isPostResolving)
root- The root property.
isPostResolving- Flag indicating this change is induced from a remote party.
public GEvent.Operation getOperations()
The event Operations in order are: SELF, CHILDREN for both pre- and post-resolving.
public boolean isPostResolving()
public boolean doReCheck()
iizi® is a registered trademark of Mindus SARL. © Copyright 2019 Mindus SARL. All rights reserved.