Class 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
    • Field Detail

      • oldName

        public final java.lang.String oldName
        The old name.
      • newName

        public final java.lang.String newName
        The new name.
      • signature

        public final java.lang.String signature
        The signature of method as retrieved by JavaHelper class in Designer.
    • 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.