Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.dt.patterns.binding.binder
Class AbstractCreatorWizard

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.patterns.binding.binder.AbstractWizard
      extended by oracle.apps.fnd.applcore.dt.patterns.binding.binder.AbstractCreatorWizard
All Implemented Interfaces:
oracle.adfdt.view.common.binding.creator.Creator
Direct Known Subclasses:
MasterDetailBinder

public abstract class AbstractCreatorWizard
extends AbstractWizard
implements oracle.adfdt.view.common.binding.creator.Creator

Generic Wizard that re-uses functionality from a component first AbstractNodeWizard in a data first scenario. Client should extend this class and provide a concrete implementation of getWizardCreator().

Author:
David Groves <david.groves@oracle.com>

Constructor Summary
AbstractCreatorWizard()
           
 
Method Summary
 org.w3c.dom.DocumentFragment create(oracle.adfdt.ADFDesignTimeContext dtContext, oracle.adfdt.view.common.binding.creator.CreationContext creationContext, oracle.adfdt.view.common.binding.provider.ModelProvider modelProvider, org.w3c.dom.Node insertionSubtreeRoot, java.util.Map properties)
          Show the binder UI.
abstract  org.w3c.dom.DocumentFragment getCreationFragment()
          Callback to obtain the DocumentFragment to return to JDev infrastructure.
 org.w3c.dom.Document getDocument()
          Get the Document.
 oracle.adfdt.ADFDesignTimeContext getDtContext()
          Callback method to obtain the ADF Design Time Context.
 org.w3c.dom.Element getInsertionSubtreeRoot()
          Get the insertion point for this drag/drop.
 oracle.adfdt.view.common.binding.provider.ModelProvider getModelProvider()
          Callback method to obtain the model provider.
abstract  oracle.bali.xml.gui.swing.wizard.AbstractNodeWizard getWizardCreator()
          Callback to obtain the specific Wizard creator for this wizard.
 
Methods inherited from class oracle.apps.fnd.applcore.dt.patterns.binding.binder.AbstractWizard
runWizard
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCreatorWizard

public AbstractCreatorWizard()
Method Detail

getModelProvider

public oracle.adfdt.view.common.binding.provider.ModelProvider getModelProvider()
Callback method to obtain the model provider.

Returns:
model provider

getDtContext

public oracle.adfdt.ADFDesignTimeContext getDtContext()
Callback method to obtain the ADF Design Time Context.

Returns:
ADFDesignTimeContext

create

public org.w3c.dom.DocumentFragment create(oracle.adfdt.ADFDesignTimeContext dtContext,
                                           oracle.adfdt.view.common.binding.creator.CreationContext creationContext,
                                           oracle.adfdt.view.common.binding.provider.ModelProvider modelProvider,
                                           org.w3c.dom.Node insertionSubtreeRoot,
                                           java.util.Map properties)
Show the binder UI. This will kick off a wizard that performs the commit at the end.

Specified by:
create in interface oracle.adfdt.view.common.binding.creator.Creator
Parameters:
dtContext - context
creationContext - ADFDT specific context
modelProvider - model provider - in this case an instance of ApplcoreModelProvider
insertionSubtreeRoot - where in the dom tree we are to be inserted
properties - generic properties from declarative pattern

getWizardCreator

public abstract oracle.bali.xml.gui.swing.wizard.AbstractNodeWizard getWizardCreator()
Callback to obtain the specific Wizard creator for this wizard. Subclassed must implement this method and supply the relevant wizardCreator.

Specified by:
getWizardCreator in class AbstractWizard
Returns:
specific AbstractNodeWizard to their requirements.

getCreationFragment

public abstract org.w3c.dom.DocumentFragment getCreationFragment()
Callback to obtain the DocumentFragment to return to JDev infrastructure.

Returns:
DocumentFragment representing JSF component tree.

getDocument

public org.w3c.dom.Document getDocument()
Get the Document.

Returns:
Dom Document.

getInsertionSubtreeRoot

public org.w3c.dom.Element getInsertionSubtreeRoot()
Get the insertion point for this drag/drop.

Returns:
Element we are being dragged under.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.