Package com.iizigo.java.event
Class JavaMethodEvent
- java.lang.Object
- com.iizix.event.GEvent
- com.iizix.event.SinkEvent
- com.iizigo.java.event.JavaMethodEvent
- All Implemented Interfaces:
IPostEventProcessing
public class JavaMethodEvent extends SinkEvent
Event ID used to broadcast an event of a Java Class file change, sent from the ClassReference parent in a sinking way to all children. This is typically used by panels or VirtualSpace that has a global class reference, and several method references in the children properties.The Event ID is GEvent.PROP_DESIGNER_JAVA_CLASS_CHANGED.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class com.iizix.event.GEvent
GEvent.Operation
Field Summary
Fields Modifier and Type Field Description java.lang.String
newName
The new name.java.lang.String
oldName
The old name.java.lang.String
signature
The signature of method as retrieved by JavaHelper class in Designer.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
Constructors Constructor Description JavaMethodEvent(ClassReference cr, java.lang.String oldName, java.lang.String newName, java.lang.String signature)
Constructs a new JavaMethodEvent.
Method Summary
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, isVerifyEvent, paramString, send, send, sendSelf, setInitialProperty, setOperation, setProgressMonitor, toString
Constructor Detail
JavaMethodEvent
public JavaMethodEvent(ClassReference cr, java.lang.String oldName, java.lang.String newName, java.lang.String signature)
Constructs a new JavaMethodEvent.- Parameters:
cr
- The ClassReference property instance.oldName
- Old name.newName
- New name.signature
- Signature of method as retrieved by JavaHelper class in Designer.