org.eclipse.emf.ecp.editor.internal.e3
Class PageCandidate

java.lang.Object
  extended by org.eclipse.emf.ecp.editor.internal.e3.PageCandidate

public final class PageCandidate
extends Object

Represents a page candidate to be showsn in meeditor.

Author:
helming

Method Summary
static 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPages

public static 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.


Copyright © 2015. All Rights Reserved.