oracle.adf.dt.objects
Class JUDTCtrlAction
java.lang.Object
oracle.adf.dt.objects.JUDTBaseObject
oracle.adf.dt.objects.JUDTControlBinding
oracle.adf.dt.objects.JUDTCtrlAction
- All Implemented Interfaces:
- oracle.ide.model.Displayable, java.util.EventListener, oracle.ide.inspector.Inspectable, oracle.ide.inspector.Inspectable2, java.util.Map, ObjectUpdateListener, oracle.jbo.mom.xml.PersistentDefinition, java.beans.PropertyChangeListener, oracle.ide.model.SupportsInspection
- Direct Known Subclasses:
- JUDTAction, JUDTCtrlDataControlAction, JUDTCtrlMethodAction
- public class JUDTCtrlAction
- extends JUDTControlBinding
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Methods inherited from class oracle.adf.dt.objects.JUDTControlBinding |
buildContextActionList, clear, containsKey, containsValue, entrySet, get, getActualBindingClassName, getBindingClassName, getBindingContainer, getClientDataControl, getControlClassName, getControlPrefix, getDesignTimeClass, getInitialValue, getInstanceName, getIteratorBinding, getIterBindingName, getLayoutCons, getLongLabel, getXMLElementTag, initializeFromRuntimeObject, isEmpty, keySet, performDeleteAction, put, putAll, remove, setBindingClassName, setBindingContainer, setControlClassName, setControlPrefix, setDefaultControlClass, setDesignTimeClass, setInitialValue, setIterBindingName, setLayoutCons, size, values, writeNonContentsChildren |
Methods inherited from class oracle.adf.dt.objects.JUDTBaseObject |
addObjectUpdateListener, addPropertyChangeListener, addVetoableChangeListener, buildActionList, buildContextMenuEntries, buildsContextMenuDirectly, dataChanged, fireObjectUpdated, firePropertyChange, getAdditionalTabPages, getContextMenuActions, getCustomDialogIcon, getCustomizer, getDefClassName, getFullName, getHelpTopicId, getId, getLinkActions, getPropertyChangeListeners, getPropertyModel, getShortLabel, getSubType, getTarget, getToolTipText, isNewInstance, propertyChange, readContents, removeObjectUpdateListener, removePropertyChangeListener, removeVetoableChangeListener, reportExceptionToUser, setContext, setDefClassName, setId, setNewInstance, setRunningKavaTests, setSaveSubType, setSubType, showCustomDialog, toString, writeChildren, writeObject, writeXMLIntArray, writeXMLStringArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
JUDTCtrlAction
public JUDTCtrlAction()
setIsLocaleObjectReference
public void setIsLocaleObjectReference(boolean bSet)
getIsLocaleObjectReference
public boolean getIsLocaleObjectReference()
setRequiresUpdateModel
public void setRequiresUpdateModel(boolean bSet)
getRequiresUpdateModel
public boolean getRequiresUpdateModel()
setIsViewObjectMethod
public void setIsViewObjectMethod(boolean bSet)
getIsViewObjectMethod
public boolean getIsViewObjectMethod()
requiresIterator
public boolean requiresIterator()
- Description copied from class:
JUDTControlBinding
- Returns true if this binding required an iterator name
-
- Overrides:
requiresIterator
in class JUDTControlBinding
setDataControlName
public void setDataControlName(java.lang.String sName)
getDataControlName
public java.lang.String getDataControlName()
initializeDefClassName
protected void initializeDefClassName()
- Description copied from class:
JUDTControlBinding
- Initializes the definition class name. The definition class name defines the class name for the meta object that reads\loads the xml metadata for this binding.
-
- Specified by:
initializeDefClassName
in class JUDTControlBinding
getDefaultBindingClassName
protected java.lang.String getDefaultBindingClassName()
-
- Specified by:
getDefaultBindingClassName
in class JUDTControlBinding
-
- Returns:
- The default binding class name used at runtime. The binding class name is the runtime object that represents the binding's instance. The instance defaults will be initialized via that data read in by the definition class.
getDefaultDefClassName
protected java.lang.String getDefaultDefClassName()
-
- Overrides:
getDefaultDefClassName
in class JUDTBaseObject
getParameterValues
public java.util.ArrayList getParameterValues()
getParameterValue
public java.lang.String getParameterValue(int nIndex)
setParameterValue
public void setParameterValue(int nIndex,
java.lang.String sValue)
getParameterName
public java.lang.String getParameterName(int nIndex)
setParameterName
public void setParameterName(int nIndex,
java.lang.String sValue)
setParameters
public void setParameters(java.util.ArrayList parameters)
setInstanceName
public void setInstanceName(java.lang.String sInstance)
- Name(or path) of object instance to invoke method on
initializeFromMethodDescriptor
public void initializeFromMethodDescriptor(java.beans.MethodDescriptor method)
initializeFromJotMethod
public void initializeFromJotMethod(JUDTDataControl dc,
oracle.jdeveloper.jot.JotMethod method)
- This designates the action as invoking the custom method
getAction
public int getAction()
getRTDef
protected oracle.adf.model.binding.DCDefBase getRTDef()
-
- Overrides:
getRTDef
in class JUDTBaseObject
setAction
public void setAction(int nAction)
isIteratorRequired
public boolean isIteratorRequired(int action)
initFromRTDef
protected void initFromRTDef()
- Description copied from class:
JUDTControlBinding
- Subclasses implement this method to perform custom runtime object initialization.
-
- Overrides:
initFromRTDef
in class JUDTControlBinding
getActionBindingInstanceName
public java.lang.String getActionBindingInstanceName()
hasCustomDialog
public boolean hasCustomDialog()
-
- Specified by:
hasCustomDialog
in interface oracle.ide.inspector.Inspectable2
- Overrides:
hasCustomDialog
in class JUDTBaseObject
getCustomDialogToolTipText
public java.lang.String getCustomDialogToolTipText()
-
- Specified by:
getCustomDialogToolTipText
in interface oracle.ide.inspector.Inspectable2
- Overrides:
getCustomDialogToolTipText
in class JUDTBaseObject
showEditorDialog
public boolean showEditorDialog(java.awt.Component parent)
- Description copied from class:
JUDTBaseObject
- We care about return types, override this version instead.
-
- Overrides:
showEditorDialog
in class JUDTBaseObject
-
- Parameters:
parent
-
- Returns:
writeContents
public void writeContents(oracle.jbo.mom.xml.DefWriter jos)
throws oracle.jbo.mom.xml.DefPersistenceException
-
- Specified by:
writeContents
in interface oracle.jbo.mom.xml.PersistentDefinition
- Overrides:
writeContents
in class JUDTControlBinding
-
- Throws:
oracle.jbo.mom.xml.DefPersistenceException
writeChildren
public void writeChildren(JUDTContents contents)
throws oracle.jbo.mom.xml.DefPersistenceException
-
- Overrides:
writeChildren
in class JUDTBaseObject
-
- Throws:
oracle.jbo.mom.xml.DefPersistenceException
getMethodName
public java.lang.String getMethodName()
setMethodName
public void setMethodName(java.lang.String methodName)
getReturnName
public java.lang.String getReturnName()
setReturnName
public void setReturnName(java.lang.String sName)
getParameterTypes
public java.util.List getParameterTypes()
getDataControl
public JUDTDataControl getDataControl()
-
- Overrides:
getDataControl
in class JUDTControlBinding
getIcon
public javax.swing.Icon getIcon()
-
- Specified by:
getIcon
in interface oracle.ide.model.Displayable
- Overrides:
getIcon
in class JUDTControlBinding
isSameDefinition
public boolean isSameDefinition(JUDTBaseObject object)
- Description copied from class:
JUDTBaseObject
- Check to see if the passed in object has the same definition. We dont use ID or Full Name since this method is used to figure out if we should add an object to a container.
-
- Overrides:
isSameDefinition
in class JUDTControlBinding
getModelPath
public java.lang.String getModelPath()
trimPackage
public static java.lang.String trimPackage(java.lang.String clsName)
Copyright © 1997, 2004, Oracle. All rights reserved.