|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.jdeveloper.template.wizard.TemplateWizardUtil
public abstract class TemplateWizardUtil
Helper class for storing and retrieving information from the shared TraversableContext used in the New Application and New Project wizards.
| Constructor Summary | |
|---|---|
TemplateWizardUtil() |
|
| Method Summary | |
|---|---|
static Workspace |
getApplication(TraversableContext wizardContext)Gets the new Workspace from the wizard TraversableContext - this is the workspace that was created as a result of finishing the wizard. |
static TraversableContext |
getApplicationData(TraversableContext wizardContext)Gets the TraversableContext containing the application-level data, which is shared between wizard project panels. |
static java.lang.String |
getApplicationPackage(TraversableContext wizardContext) |
static ApplicationTemplate |
getApplicationTemplate(TraversableContext wizardContext) |
static java.net.URL |
getApplicationURL(TraversableContext wizardContext)Gets the URL to use to create the new workspace. |
static Context |
getContext(TraversableContext wizardContext)Gets the Context from which the wizard was invoked. |
static Project |
getProject(TraversableContext wizardContext)Gets the new Project from the wizard TraversableContext - this is the project that was created as a result of finishing the wizard. |
static ProjectTemplate |
getProjectTemplate(TraversableContext wizardContext)Gets the ProjectTemplate from the wizard TraversableContext. |
static TraversableContext[] |
getProjectTraversableContexts(TraversableContext wizardContext)Gets the array of TraversableContexts used by the New Application Wizard. |
static java.net.URL |
getProjectURL(TraversableContext wizardContext)Gets the URL that will be used to create the project. |
static TraversableContext |
newContextForProjectPages(TraversableContext applicationData)Creates a new TraversableContext for use with project wizard pages. |
static TraversableContext |
newWizardContext(Context context)Creates a new TraversableContext for use with the New Application and New Project dynamic wizards. |
static void |
setApplication(Workspace newWorkspace, TraversableContext wizardContext)Stores the newly-created workspace in the wizard data cotext. |
static void |
setApplicationPackage(java.lang.String appPackage, TraversableContext wizardContext) |
static void |
setApplicationTemplate(ApplicationTemplate appTemplate, TraversableContext wizardContext) |
static void |
setApplicationURL(java.net.URL url, TraversableContext wizardContext)Sets the URL to use to create the new workspace. |
static void |
setProject(Project project, TraversableContext wizardContext)Stores the newly-created project in the wizard data cotext. |
static void |
setProjectTemplate(ProjectTemplate projTemplate, TraversableContext wizardContext)Sets the project template to use to configure the new projejct. |
static void |
setProjectTraversableContexts(TraversableContext[] contexts, TraversableContext wizardData) |
static void |
setProjectURL(java.net.URL url, TraversableContext wizardContext)Sets the URL to use to create the project. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateWizardUtil()
| Method Detail |
|---|
public static TraversableContext newWizardContext(Context context)
context - The context in which the wizard was invokedpublic static TraversableContext newContextForProjectPages(TraversableContext applicationData)
getApplicationData(oracle.ide.panels.TraversableContext).public static TraversableContext[] getProjectTraversableContexts(TraversableContext wizardContext)
TraversableContexts used by the New Application Wizard. Each project template referenced in the application template appears as a page (or set of pages, depending on the selected technology scopes) in the wizard. Pages that pertain to a single project template share a single TraversableContext.wizardContext - The TraversableContext used by the wizard
public static void setProjectTraversableContexts(TraversableContext[] contexts,
TraversableContext wizardData)
public static TraversableContext getApplicationData(TraversableContext wizardContext)
wizardContext - The project-level wizard contextgetProjectTraversableContexts(oracle.ide.panels.TraversableContext)public static Context getContext(TraversableContext wizardContext)
Context from which the wizard was invoked.wizardContext - The wizard data contextpublic static Project getProject(TraversableContext wizardContext)
Project from the wizard TraversableContext - this is the project that was created as a result of finishing the wizard. During the lifetime of the wizard, this method will return null.wizardContext - The TraversableContext used by the wizard
public static void setProject(Project project,
TraversableContext wizardContext)
project - A projectwizardContext - The TraversableContext used by the wizardpublic static ProjectTemplate getProjectTemplate(TraversableContext wizardContext)
ProjectTemplate from the wizard TraversableContext.wizardContext - The TraversableContext used by the wizard
public static void setProjectTemplate(ProjectTemplate projTemplate,
TraversableContext wizardContext)
projTemplate - A project templatewizardContext - The TraversableContext used by the wizardpublic static java.net.URL getProjectURL(TraversableContext wizardContext)
wizardContext - The TraversableContext used by the wizard
public static void setProjectURL(java.net.URL url,
TraversableContext wizardContext)
url - A project URLwizardContext - The TraversableContext used by the wizardpublic static Workspace getApplication(TraversableContext wizardContext)
Workspace from the wizard TraversableContext - this is the workspace that was created as a result of finishing the wizard. During the lifetime of the wizard, this method will return null.wizardContext - The TraversableContext used by the wizard
public static void setApplication(Workspace newWorkspace,
TraversableContext wizardContext)
newWorkspace - A WorkspacewizardContext - The TraversableContext used by the wizardpublic static ApplicationTemplate getApplicationTemplate(TraversableContext wizardContext)
wizardContext - The TraversableContext used by the wizard
public static void setApplicationTemplate(ApplicationTemplate appTemplate,
TraversableContext wizardContext)
appTemplate -wizardContext - The TraversableContext used by the wizardpublic static java.net.URL getApplicationURL(TraversableContext wizardContext)
wizardContext - The TraversableContext used by the wizard
public static void setApplicationURL(java.net.URL url,
TraversableContext wizardContext)
url - The URL of the applicationwizardContext - The TraversableContext used by the wizardpublic static java.lang.String getApplicationPackage(TraversableContext wizardContext)
wizardContext - The TraversableContext used by the wizard
public static void setApplicationPackage(java.lang.String appPackage,
TraversableContext wizardContext)
appPackage -wizardContext - The TraversableContext used by the wizard
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||