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 Details

    • oldName

      public final String oldName
      The old name.
    • newName

      public final String newName
      The new name.
    • signature

      public final String signature
      The signature of method as retrieved by JavaHelper class in Designer.
  • Constructor Details

    • JavaMethodEvent

      public JavaMethodEvent(ClassReference cr, String oldName, String newName, 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.