Oracle ADF Designtime API Reference v10.1.2


oracle.adf.dt.factories.bc4j
Class DCFactoryApplicationModule

java.lang.Object
  extended byoracle.adf.dt.factories.bc4j.DCFactoryApplicationModule

All Implemented Interfaces:
DataControlFactory

public class DCFactoryApplicationModule
extends java.lang.Object
implements DataControlFactory

Constructor Summary
DCFactoryApplicationModule()

Method Summary
boolean canCreateDataControl(oracle.ide.addin.Context ctx)
Return true is the Data control can be created for the selected node.
boolean compileProjectBeforeGenerating(oracle.ide.addin.Context ctx)
Return true if this factory requires the project to be compiled before it [re-]generates a data control.
JUDTDataControl createDataControl(oracle.ide.addin.Context context)
Create a data control for the selected Element.
java.lang.Class[] getNodeClasses()
Array of node classes handled by this Factory

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

DCFactoryApplicationModule

public DCFactoryApplicationModule()

Method Detail

getNodeClasses

public java.lang.Class[] getNodeClasses()
Description copied from interface: DataControlFactory
Array of node classes handled by this Factory
Specified by:
getNodeClasses in interface DataControlFactory

canCreateDataControl

public boolean canCreateDataControl(oracle.ide.addin.Context ctx)
Description copied from interface: DataControlFactory
Return true is the Data control can be created for the selected node. Even though the node factory registers a set of node types, it could be a that a node type is not well defined so the factory would return false in this function. One example is a Java class that is not a Java Bean.
Specified by:
canCreateDataControl in interface DataControlFactory

createDataControl

public JUDTDataControl createDataControl(oracle.ide.addin.Context context)
Description copied from interface: DataControlFactory
Create a data control for the selected Element. This may involve showing a user interface and generating a java bean. The method should return an initialized data control.
Specified by:
createDataControl in interface DataControlFactory

compileProjectBeforeGenerating

public boolean compileProjectBeforeGenerating(oracle.ide.addin.Context ctx)
Description copied from interface: DataControlFactory
Return true if this factory requires the project to be compiled before it [re-]generates a data control. In cases where the underlying model object has been modified, leaving it out of sync with a wrapper data control class generated earlier, compilation at the outset of the process will fail. This flag allows factories to first re-generate the data control wrapper, synchronizing it with any changes to the model.
Specified by:
compileProjectBeforeGenerating in interface DataControlFactory

Oracle ADF Designtime API Reference v10.1.2


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