|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.managedbuilder.ui.wizards.MBSCustomPageManager
public final class MBSCustomPageManager
This class is responsible for managing the use of custom pages in the Managed Build System's New Project wizards. This class is a singleton.
Field Summary | |
---|---|
static java.lang.String |
ID
ID attribute for wizardPage |
static java.lang.String |
NATURE
nature element |
static java.lang.String |
NATURE_ID
ID attribute of nature element |
static java.lang.String |
OPERATION_CLASS
attribute for the operation that is run for a wizardPage during the wizard's DoRunEpilogue() method |
static java.lang.String |
PAGE_CLASS
attribute for the class associated witha wizardPage element |
static java.lang.String |
PAGE_ID
|
static java.lang.String |
PROJECT_TYPE
project type element |
static java.lang.String |
PROJECT_TYPE_ID
ID attribute of projectType element |
static java.lang.String |
TOOLCHAIN
toolchain element |
static java.lang.String |
TOOLCHAIN_ID
ID attribute of toolchain element |
static java.lang.String |
VERSIONS_SUPPORTED
versions supported attribute of toolchain element |
static java.lang.String |
WIZARD_PAGE
element for a custom wizard page |
Method Summary | |
---|---|
static void |
addPageProperty(java.lang.String pageID,
java.lang.String key,
java.lang.Object data)
Publishes a piece of data associated with a wizard page. |
static void |
addStockPage(org.eclipse.jface.wizard.IWizardPage page,
java.lang.String pageID)
Adds an entry for a stock page into the manager. |
static org.eclipse.jface.wizard.IWizardPage[] |
getCustomPages()
Gets all custom pages that the page manager knows about. |
static org.eclipse.jface.wizard.IWizardPage |
getNextPage(java.lang.String currentPageID)
Gets the next page that should appear in the wizard. |
static org.eclipse.jface.operation.IRunnableWithProgress[] |
getOperations()
Gets all operations that should be run during the wizard's DoRunEpilogue() method. |
static MBSCustomPageData |
getPageData(java.lang.String pageID)
|
static boolean |
getPageHideStatus(java.lang.String Id)
|
static java.lang.Object |
getPageProperty(java.lang.String pageID,
java.lang.String key)
Retrieves a previously published piece of data associated with a wizard page. |
static org.eclipse.jface.wizard.IWizardPage[] |
getPages()
Gets the pages that the page manager knows about. |
static org.eclipse.jface.wizard.IWizardPage |
getPreviousPage(java.lang.String currentPageID)
Gets the previous page that should appear in the wizard. |
static void |
init()
Initializes the manager. |
static boolean |
isPageVisible(java.lang.String pageID)
|
static void |
loadExtensions()
Looks for contributions to the extension point org.eclipse.cdt.managedbuilder.ui.newWizardPages and adds all pages to the manager. |
static void |
setPageHideStatus(java.lang.String Id,
boolean status)
Ability to hide pages explicitly, not depending of nature/projecttype filter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PAGE_ID
public static final java.lang.String NATURE_ID
public static final java.lang.String VERSIONS_SUPPORTED
public static final java.lang.String TOOLCHAIN_ID
public static final java.lang.String PROJECT_TYPE_ID
public static final java.lang.String NATURE
public static final java.lang.String TOOLCHAIN
public static final java.lang.String PROJECT_TYPE
public static final java.lang.String PAGE_CLASS
public static final java.lang.String OPERATION_CLASS
public static final java.lang.String ID
public static final java.lang.String WIZARD_PAGE
Method Detail |
---|
public static void loadExtensions() throws BuildException
BuildException
public static MBSCustomPageData getPageData(java.lang.String pageID)
pageID
- - The unique ID of the page to search for.
public static boolean isPageVisible(java.lang.String pageID)
pageID
- - The unique ID of the page to be tested.
public static void addPageProperty(java.lang.String pageID, java.lang.String key, java.lang.Object data)
pageID
- - The unique ID of the page for which the data is being added.key
- - A unique name by which the data is referred to.data
- - The data to be stored. No assumptions are made about the type of data stored. It is up to the
contributor of a given page to establish their own contract as to what type of data is stored.getPageProperty(String, String)
public static java.lang.Object getPageProperty(java.lang.String pageID, java.lang.String key)
pageID
- - The unique ID of the page for which the
data should be retrieved.key
- - The unique name of the data to be retrieved.
org.eclipse.cdt.maangedbuilder.ui.wizards.CProjectPlatformPage
,
addPageProperty(String, String, Object)
public static org.eclipse.jface.wizard.IWizardPage getNextPage(java.lang.String currentPageID)
currentPageID
- - The unique ID of the page the wizard is currently displaying.
public static void addStockPage(org.eclipse.jface.wizard.IWizardPage page, java.lang.String pageID)
page
- - The IWizardPage to add.pageID
- - A unique ID to associate with this page. This ID will be used to refer to the page by the rest of the system.public static org.eclipse.jface.wizard.IWizardPage getPreviousPage(java.lang.String currentPageID)
currentPageID
- - The unique ID of the page currently being displayed in the wizard.
public static org.eclipse.jface.wizard.IWizardPage[] getPages()
getCustomPages()
public static org.eclipse.jface.wizard.IWizardPage[] getCustomPages()
getPages()
public static org.eclipse.jface.operation.IRunnableWithProgress[] getOperations()
public static void init()
public static void setPageHideStatus(java.lang.String Id, boolean status)
p
- - page to hidestatus
- - true means hiddenpublic static boolean getPageHideStatus(java.lang.String Id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |