ADF Designtime

oracle.adf.dt.datacontrols
Class JUDTBC4JDataControl

java.lang.Object
  extended byoracle.adf.dt.objects.JUDTBaseObject
      extended byoracle.adf.dt.objects.JUDTContaineeContainer
          extended byoracle.adf.dt.objects.JUDTDataControl
              extended byoracle.adf.dt.datacontrols.JUDTBC4JDataControl
All Implemented Interfaces:
oracle.ide.model.Displayable, java.util.EventListener, oracle.ide.inspector.Inspectable, oracle.ide.inspector.Inspectable2, ObjectUpdateListener, oracle.jbo.mom.xml.PersistentDefinition, java.beans.PropertyChangeListener, oracle.ide.model.SupportsInspection

public class JUDTBC4JDataControl
extends JUDTDataControl

BC4J design time data control


Field Summary
 
Fields inherited from class oracle.adf.dt.objects.JUDTDataControl
NEW_PARAMETER_ADDED, PARAMETER_REMOVED
 
Fields inherited from class oracle.adf.dt.objects.JUDTBaseObject
_Context, _DefClassName, _RTDef, PNAME_id
 
Constructor Summary
JUDTBC4JDataControl()
           
 
Method Summary
 DataControlTreeNode createDataControlTreeNode(TreeNodesChooser Chooser)
          This method should be overriden to customize the Tree node create to represent a data control.
 boolean displayParameterInStructurePane(java.lang.String sName)
          Gives the Data Control the ability to hide certain parameters from appearing in the Structure pane
 oracle.jbo.dt.objects.JboApplication getApplication()
           
 oracle.jbo.dt.objects.JboAppModule getApplicationModule()
           
 java.lang.String getApplicationModuleName()
           
 java.lang.String getConfiguration()
           
 RowsetInfo getRowSetInfo(java.lang.String sInstanceName)
           
 java.lang.String getSyncMode()
           
 void initializeClientTypeSettings(java.lang.String sType)
          Perform client type initialization for this data control.
 void initializeFromDTObject(JUDTDataControl origControl)
          FIXME Shailesh, there should probably be distinction between data controls that come from the cxfg file and those contained in the .cpx file.
 void initializeFromRuntimeObject(oracle.jbo.uicli.mom.JUDataControlDefImpl rtControl)
           
 boolean isBeanBasedDataControl()
          BC4J data controls are not bean based, return false
 boolean isSameDefinition(JUDTBaseObject object)
          Determines if the passed in data control has the same definition.
 void setApplication(oracle.jbo.dt.objects.JboApplication application)
           
 void setApplicationModule(oracle.jbo.dt.objects.JboAppModule app)
           
 void setApplicationModuleName(java.lang.String sName)
           
 void setConfiguration(java.lang.String sValue)
           
 void setSyncMode(java.lang.String sMode)
           
 void writeContents(oracle.jbo.mom.xml.DefWriter jos)
          Objects should write their persistence output in this method
 
Methods inherited from class oracle.adf.dt.objects.JUDTDataControl
addParameter, buildActionList, buildContextActionList, buildParametersActionList, configureClientProject, deleteParameter, findMethod, getBeanDefinition, getContainer, getDefinitionClass, getDefProject, getDesignTimeClass, getFactoryClass, getIcon, getInstanceName, getPackageName, getParametersSet, getProjectConfigurer, getXMLElementTag, isBeanSession, performDeleteAction, setContainer, setDefinitionClass, setDefProject, setDesignTimeClass, setFactoryClass, setPackageName, setProjectConfigurer, setSupportsFindmode, setSupportsRangeSize, setSupportsResetState, setSupportsTransactions, supportsFindMode, supportsRangeSize, supportsResetState, supportsTransactions, writeNonContentsChildren
 
Methods inherited from class oracle.adf.dt.objects.JUDTBaseObject
addObjectUpdateListener, addPropertyChangeListener, addVetoableChangeListener, buildContextMenuEntries, buildsContextMenuDirectly, dataChanged, fireObjectUpdated, firePropertyChange, getAdditionalTabPages, getContextMenuActions, getCustomDialogIcon, getCustomDialogToolTipText, getCustomizer, getDefaultDefClassName, getDefClassName, getFullName, getHelpTopicId, getId, getLinkActions, getLongLabel, getPropertyChangeListeners, getPropertyModel, getRTDef, getShortLabel, getSubType, getTarget, getToolTipText, hasCustomDialog, initFromRTDef, isNewInstance, propertyChange, readContents, removeObjectUpdateListener, removePropertyChangeListener, removeVetoableChangeListener, reportExceptionToUser, setContext, setDefClassName, setId, setNewInstance, setRunningKavaTests, setSaveSubType, setSubType, showCustomDialog, showEditorDialog, toString, writeChildren, writeChildren, writeObject, writeXMLIntArray, writeXMLStringArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JUDTBC4JDataControl

public JUDTBC4JDataControl()
Method Detail

isBeanBasedDataControl

public boolean isBeanBasedDataControl()
BC4J data controls are not bean based, return false

Overrides:
isBeanBasedDataControl in class JUDTDataControl
Returns:

isSameDefinition

public boolean isSameDefinition(JUDTBaseObject object)
Description copied from class: JUDTDataControl
Determines if the passed in data control has the same definition. No match on id is made since this is not a full equality check.

Overrides:
isSameDefinition in class JUDTDataControl

displayParameterInStructurePane

public boolean displayParameterInStructurePane(java.lang.String sName)
Description copied from class: JUDTDataControl
Gives the Data Control the ability to hide certain parameters from appearing in the Structure pane

Overrides:
displayParameterInStructurePane in class JUDTDataControl
Parameters:
sName -
Returns:

setApplication

public void setApplication(oracle.jbo.dt.objects.JboApplication application)

getApplication

public oracle.jbo.dt.objects.JboApplication getApplication()

getSyncMode

public java.lang.String getSyncMode()

setSyncMode

public void setSyncMode(java.lang.String sMode)

createDataControlTreeNode

public DataControlTreeNode createDataControlTreeNode(TreeNodesChooser Chooser)
Description copied from class: JUDTDataControl
This method should be overriden to customize the Tree node create to represent a data control. The JUDTDataControl subclass should be introduced by the JUDTDataControl factory.

Overrides:
createDataControlTreeNode in class JUDTDataControl

getRowSetInfo

public RowsetInfo getRowSetInfo(java.lang.String sInstanceName)
Overrides:
getRowSetInfo in class JUDTDataControl

setConfiguration

public void setConfiguration(java.lang.String sValue)

getConfiguration

public final java.lang.String getConfiguration()

setApplicationModuleName

public void setApplicationModuleName(java.lang.String sName)

setApplicationModule

public void setApplicationModule(oracle.jbo.dt.objects.JboAppModule app)

getApplicationModuleName

public java.lang.String getApplicationModuleName()

getApplicationModule

public oracle.jbo.dt.objects.JboAppModule getApplicationModule()

writeContents

public void writeContents(oracle.jbo.mom.xml.DefWriter jos)
                   throws oracle.jbo.mom.xml.DefPersistenceException
Objects should write their persistence output in this method

Specified by:
writeContents in interface oracle.jbo.mom.xml.PersistentDefinition
Overrides:
writeContents in class JUDTDataControl
Parameters:
jos - the Output storage for persistence
Returns:
Number of Contents returned
Throws:
oracle.jbo.mom.xml.DefPersistenceException

initializeFromDTObject

public void initializeFromDTObject(JUDTDataControl origControl)
FIXME Shailesh, there should probably be distinction between data controls that come from the cxfg file and those contained in the .cpx file.

Overrides:
initializeFromDTObject in class JUDTDataControl

initializeFromRuntimeObject

public void initializeFromRuntimeObject(oracle.jbo.uicli.mom.JUDataControlDefImpl rtControl)
Overrides:
initializeFromRuntimeObject in class JUDTDataControl

initializeClientTypeSettings

public void initializeClientTypeSettings(java.lang.String sType)
Description copied from class: JUDTDataControl
Perform client type initialization for this data control. The client type can be generic or JClient

Overrides:
initializeClientTypeSettings in class JUDTDataControl

ADF Designtime

 

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