Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.dt.patterns.metadata.creator.treetable
Class ApplicationsTreeTableModel

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.patterns.metadata.creator.treetable.ApplicationsTreeTableModel

public class ApplicationsTreeTableModel
extends java.lang.Object

Class that acts as a provider for the applicationsTreeTable wizard. It supplies everything needed for the wizard to run. This model is implemented as a holder of panels as opposed to individual data items as the panels will be re-used in the master-details wizard.


Constructor Summary
ApplicationsTreeTableModel(oracle.adfdt.ADFDesignTimeContext dtContext, org.w3c.dom.Element applicationsTreeTable, oracle.adfdt.model.objects.DataControl dataControl, oracle.binding.meta.NamedDefinition definition)
          Data first constructor.
ApplicationsTreeTableModel(oracle.bali.xml.gui.jdev.JDevXmlContext context, org.w3c.dom.Element applicationsTreeTable, ApplicationsTreeTablePageProvider pageProvider)
          Component first constructor.
 
Method Summary
 boolean canFinish()
          Get the finish flag.
 void commit()
          Generate the metadata for the applicationsTreeTable component.
 void reCreateContent(int pageIndex)
          Recreate page content at page pageIndex.
 void setPageProvider(ApplicationsTreeTablePageProvider pageProvider)
          Set the page provider of the wizard this model is for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationsTreeTableModel

public ApplicationsTreeTableModel(oracle.bali.xml.gui.jdev.JDevXmlContext context,
                                  org.w3c.dom.Element applicationsTreeTable,
                                  ApplicationsTreeTablePageProvider pageProvider)
Component first constructor.

Parameters:
context - context
applicationsTreeTable - Element to commit.
pageProvider - provider of pages.

ApplicationsTreeTableModel

public ApplicationsTreeTableModel(oracle.adfdt.ADFDesignTimeContext dtContext,
                                  org.w3c.dom.Element applicationsTreeTable,
                                  oracle.adfdt.model.objects.DataControl dataControl,
                                  oracle.binding.meta.NamedDefinition definition)
Data first constructor.

Parameters:
dtContext - context
applicationsTreeTable - Element we are creating.
dataControl - data control detail Collection was dropped from.
definition - collection.
Method Detail

setPageProvider

public void setPageProvider(ApplicationsTreeTablePageProvider pageProvider)
Set the page provider of the wizard this model is for.

Parameters:
pageProvider - the page provider.

reCreateContent

public void reCreateContent(int pageIndex)
Recreate page content at page pageIndex. This is done in a late-creation method as we probably do not know the content at wizard creation time.

Parameters:
pageIndex - 0 based page index.

commit

public void commit()
            throws java.lang.Exception
Generate the metadata for the applicationsTreeTable component.

Throws:
java.lang.Exception - Throw exception if any.

canFinish

public boolean canFinish()
Get the finish flag.

Returns:
finish flag.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.