Class TreeSelectionPluginEvent


  • public final class TreeSelectionPluginEvent
    extends PluginEvent
    Notification for a new Program Tree selection.
    • Constructor Detail

      • TreeSelectionPluginEvent

        public TreeSelectionPluginEvent​(java.lang.String source,
                                        java.lang.String treeName,
                                        GroupPath[] groupPaths)
        Constructor for TreeSelectionPluginEvent.
        Parameters:
        source - name of the plugin that generated this event
        treeName - name of the tree in the program
        groupPaths - group paths that are selected in a Program Tree; the group path uniquely identifies a Module (folder) or fragment in the tree
    • Method Detail

      • getGroupPaths

        public GroupPath[] getGroupPaths()
        Get the group paths that are in the tree selection.
      • getTreeName

        public java.lang.String getTreeName()
        Get the tree name associated with this event.
        Returns:
        String tree name
      • toString

        public java.lang.String toString()
        String representation of this event for debugging purposes.
        Overrides:
        toString in class PluginEvent
        See Also:
        Object.toString()