Class HandlersFolder


  • public class HandlersFolder
    extends Object
    Support class for event handlers tree viewer. Parent item for HandlerContainer items. One parent item supposed to contain all methods of the same module.
    • Constructor Detail

      • HandlersFolder

        public HandlersFolder​(String moduleName,
                              org.eclipse.emf.ecore.EReference moduleReference)
        Constructor.
        Parameters:
        moduleName - - name of module which contains child methods. Can't be null.
        moduleReference - - reference to module. Can't be null.
    • Method Detail

      • getModuleName

        public String getModuleName()
        Returns name of module which folder represents.
        Returns:
        name of module which folder represents. Can't return null.
      • getModuleReference

        public org.eclipse.emf.ecore.EReference getModuleReference()
        Returns module reference.
        Returns:
        module reference. Can't return null.
      • getChildren

        public Collection<HandlerContainer> getChildren()
        Returns folder children.
        Returns:
        folder children. Can't be null.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object