Class PageCandidate


  • public final class PageCandidate
    extends java.lang.Object
    Represents a page candidate to be showsn in meeditor.
    Author:
    helming
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<org.eclipse.core.runtime.IConfigurationElement> getPages​(org.eclipse.core.runtime.IConfigurationElement[] input)
      This method gets an input array of MEEditor pages and performs the tasks "after" and "replace" on them.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getPages

        public static java.util.List<org.eclipse.core.runtime.IConfigurationElement> getPages​(org.eclipse.core.runtime.IConfigurationElement[] input)
        This method gets an input array of MEEditor pages and performs the tasks "after" and "replace" on them. That means, pages replaced by others will be omitted and pages with the after attribute set to a valid page name will be sorted so they appear after that page. If a page that has elements "after" it is replaced, the elements will instead be after the replacing page.
        Parameters:
        input - A list of MEEditor page candidates (directly from reading the extensions for the pages extension point)
        Returns:
        A properly ordered list of all pages to be added to the MEEditor.