Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.jdeveloper.template.wizard
Class NewApplicationFromTemplateWizard

java.lang.Object
  extended by oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard
      extended by oracle.jdeveloper.template.wizard.NewApplicationFromTemplateWizard

public final class NewApplicationFromTemplateWizard
extends NewObjectFromTemplateWizard


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard
NewObjectFromTemplateWizard.WizardEventAdapter
 
Constructor Summary
NewApplicationFromTemplateWizard()
           
 
Method Summary
protected  void doPostCreationProcessing()
          Called when the wizard is finished and all other processing has happened: after the workspace and/or projects have been created, and the wizard pages allowed to make modifications to the generated application or projects.
protected  Workspace getOrCreateWorkspace()
          Called when the wizard is finished and the new workpace and/or projects(s) should be created.
protected  java.awt.Image getWizardHeaderImage()
          Subclasses should return an image to display in the wizard header bar.
protected  oracle.bali.ewt.wizard.dWizard.WizardSequence2 getWizardSequence()
          Subclasses should implement this method and return their sequence of wizard pages.
protected  java.lang.String getWizardTitle()
          Subclasses should return text to display in the wizard title bar.
protected  void populateTraversableContext(TraversableContext tc, AbstractTemplate template)
          Subclasses should implement this method and populate the TraversableContext with the data necessary by the wizard.
 
Methods inherited from class oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard
commitProjectChanges, createDeploymentProfile, createProjects, getWizardContext, initializeWizardDataContext, runWizard
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewApplicationFromTemplateWizard

public NewApplicationFromTemplateWizard()
Method Detail

populateTraversableContext

protected void populateTraversableContext(TraversableContext tc,
                                          AbstractTemplate template)
Description copied from class: NewObjectFromTemplateWizard
Subclasses should implement this method and populate the TraversableContext with the data necessary by the wizard. This method is called before the wizard, and any wizard pages are created.

Note: The active context is stored in the TraversableContext and can be retrieved by calling TemplateWizardUtil.getContext(oracle.ide.panels.TraversableContext).

Specified by:
populateTraversableContext in class NewObjectFromTemplateWizard
template - The active ApplicationTemplate or ProjectTemplate, must not be null.

getWizardSequence

protected oracle.bali.ewt.wizard.dWizard.WizardSequence2 getWizardSequence()
Description copied from class: NewObjectFromTemplateWizard
Subclasses should implement this method and return their sequence of wizard pages.

Specified by:
getWizardSequence in class NewObjectFromTemplateWizard
Returns:
A sequence of wizard pages

getOrCreateWorkspace

protected Workspace getOrCreateWorkspace()
Description copied from class: NewObjectFromTemplateWizard
Called when the wizard is finished and the new workpace and/or projects(s) should be created. In the case of the New Project wizard, the workspace already exists. For the New Aplication wizard, the workspace should be created when this method is called.

By default, this method just returns the workspace from the active context.

Overrides:
getOrCreateWorkspace in class NewObjectFromTemplateWizard
Returns:
the workspace where new projects should be added

doPostCreationProcessing

protected void doPostCreationProcessing()
Description copied from class: NewObjectFromTemplateWizard
Called when the wizard is finished and all other processing has happened: after the workspace and/or projects have been created, and the wizard pages allowed to make modifications to the generated application or projects.

Specified by:
doPostCreationProcessing in class NewObjectFromTemplateWizard

getWizardTitle

protected java.lang.String getWizardTitle()
Description copied from class: NewObjectFromTemplateWizard
Subclasses should return text to display in the wizard title bar. The title should be in the form "Create Application/Project Name".

Specified by:
getWizardTitle in class NewObjectFromTemplateWizard
Returns:
the wizard title

getWizardHeaderImage

protected java.awt.Image getWizardHeaderImage()
Description copied from class: NewObjectFromTemplateWizard
Subclasses should return an image to display in the wizard header bar.

Specified by:
getWizardHeaderImage in class NewObjectFromTemplateWizard
Returns:
the wizard header image

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.