Package com.iizix.event
Class ParentCnrMoveEvent
java.lang.Object
com.iizix.event.GEvent
com.iizix.event.SinkEvent
com.iizix.event.ParentCnrMoveEvent
- All Implemented Interfaces:
IPostEventProcessing
Event used to send to all children of a moved container in a sinking non-bubbling form.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class com.iizix.event.GEvent
GEvent.Operation
Field Summary
Fields inherited from class com.iizix.event.GEvent
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 Summary
ConstructorDescriptionParentCnrMoveEvent
(PropCnr movedContainer, Atom oldAtom, PropCnr oldContainer) Constructs a new move event for a property that is moved and renamed at the same time.Method Summary
Modifier and TypeMethodDescriptionGets the old Atom, i.e.Gets the old property container.boolean
Returns if this event is a verify event for a container that processes verification.protected StringBuilder
paramString
(StringBuilder buf) Returns the parameter string representing the state of this event.Methods inherited from class com.iizix.event.SinkEvent
getOperations
Methods inherited from class com.iizix.event.GEvent
addPostProcessor, cancel, consume, getAlternateDestination, getEventID, getEventName, getEventName, getEventTarget, getOperation, getPostProcessors, getSender, getSource, getTrigger, isCancelled, isClearCacheEvent, isConsumed, isEventProcessed, isPropertyChange, isPropertyChange, isPropertyChange, isPropertyChangeIn, isPropertyChangeInTree, isRefreshEvent, isRemoteInduced, send, send, sendSelf, setInitialProperty, setOperation, setProgressMonitor, toString
Constructor Details
ParentCnrMoveEvent
Constructs a new move event for a property that is moved and renamed at the same time. This event is typically used for drag-drop scenarios where the target accepts the moved items but there is a name-clash that is resolved by changing the name during the move operation from the old to the new container.- Parameters:
movedContainer
- The property container instance being moved.oldAtom
- The old name of the property.oldContainer
- The old container that used to house the property container.
Method Details
getOldAtom
Gets the old Atom, i.e. the old name of the property container before the move.- Returns:
- The old Atom.
getOldContainer
Gets the old property container.- Returns:
- The old property container.
isVerifyEvent
public boolean isVerifyEvent()Returns if this event is a verify event for a container that processes verification.- Overrides:
isVerifyEvent
in classGEvent
- Returns:
- true always.
paramString
Returns the parameter string representing the state of this event. This string is useful for debugging. Super classes adds extra information to the string by preceding it with a comma followed by the extra information.- Overrides:
paramString
in classGEvent
- Parameters:
buf
- The StringBuilder to append the string to.- Returns:
- The StringBuilder, i.e. the
buf
input parameter.