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

E22562-03

oracle.apps.fnd.applcore.dt.attachments.component.metadata.creator
Class Palette

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.attachments.component.metadata.creator.Palette
All Implemented Interfaces:
oracle.bali.xml.util.NodeCreator

public class Palette
extends java.lang.Object
implements oracle.bali.xml.util.NodeCreator

The main class that gets called when the attachment component is dragged and dropped.

Author:
Pallavi Palparthy <pallavi.palparthy@oracle.com>

Constructor Summary
Palette()
           
 
Method Summary
 org.w3c.dom.Node createNode(oracle.bali.xml.model.XmlContext xmlContext, oracle.bali.xml.metadata.XmlKey key, oracle.bali.xml.dom.position.DomPosition position, org.w3c.dom.Node prototypeNode)
          createNode method, makes appropriate calls to create the Dialogs shown when the Applications Hierarchy Component is selected.
 boolean supportsCreate(org.w3c.dom.Node pInsertParent)
          Method to iterate through the parent node, that would be a table to check and see if an attachments column is already present, if yes, it makes an invalid drop.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Palette

public Palette()
Method Detail

createNode

public org.w3c.dom.Node createNode(oracle.bali.xml.model.XmlContext xmlContext,
                                   oracle.bali.xml.metadata.XmlKey key,
                                   oracle.bali.xml.dom.position.DomPosition position,
                                   org.w3c.dom.Node prototypeNode)
createNode method, makes appropriate calls to create the Dialogs shown when the Applications Hierarchy Component is selected.

Specified by:
createNode in interface oracle.bali.xml.util.NodeCreator
Parameters:
xmlContext - xml context
key - Xml Key
position - Dom Position
prototypeNode - Component Element
Returns:
a node tree representing the user choices.

supportsCreate

public boolean supportsCreate(org.w3c.dom.Node pInsertParent)
Method to iterate through the parent node, that would be a table to check and see if an attachments column is already present, if yes, it makes an invalid drop.

Parameters:
pInsertParent - parent node
Returns:
if the column type should be displayed

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

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.