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

E22562-05

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

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.patterns.binding.binder.AbstractWizard
      extended by oracle.apps.fnd.applcore.dt.patterns.binding.binder.AbstractBinderWizard
All Implemented Interfaces:
oracle.adfdt.view.common.binding.creator.Binder
Direct Known Subclasses:
PanelBinder, PopupBinder, TreeTableBinder

public abstract class AbstractBinderWizard
extends AbstractWizard
implements oracle.adfdt.view.common.binding.creator.Binder

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
AbstractBinderWizard()
           
 
Method Summary
 void bind(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, org.w3c.dom.Element root, java.util.Map properties)
          Show the binder UI.
 boolean canRebind(org.w3c.dom.Node insertionSubtreeRoot, org.w3c.dom.Element root)
          Can we rebind.
 oracle.adfdt.ADFDesignTimeContext getDtContext()
          Callback method to obtain the ADF Design Time Context.
 oracle.adfdt.view.common.binding.provider.ModelProvider getModelProvider()
          Callback method to obtain the model provider.
 org.w3c.dom.Element getRoot()
          Callback method to obtain the root element.
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

AbstractBinderWizard

public AbstractBinderWizard()
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

getRoot

public org.w3c.dom.Element getRoot()
Callback method to obtain the root element.

Returns:
root element

bind

public void bind(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,
                 org.w3c.dom.Element root,
                 java.util.Map properties)
Show the binder UI. This will kick off a wizard that performs the commit at the end.

Specified by:
bind in interface oracle.adfdt.view.common.binding.creator.Binder
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
root - prototype Element for adding to
properties - generic properties from declarative pattern

canRebind

public boolean canRebind(org.w3c.dom.Node insertionSubtreeRoot,
                         org.w3c.dom.Element root)
Can we rebind. This method currently returns false, rebinding is not supported, however subclasses can over-ride as required.

Specified by:
canRebind in interface oracle.adfdt.view.common.binding.creator.Binder
Parameters:
insertionSubtreeRoot - where in the dom tree we are to be rebound
root - element in question
Returns:
false

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.

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

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.