org.pentaho.di.core.dnd
Class DragAndDropContainer
java.lang.Object
org.pentaho.di.core.dnd.DragAndDropContainer
- All Implemented Interfaces:
- XMLInterface
public class DragAndDropContainer
- extends Object
- implements XMLInterface
This class contains code to help you drag data from one
part of a GUI to another by using XML as an intermediate step.
- Since:
- 2006-04-16
- Author:
- matt
TYPE_STEP
public static final int TYPE_STEP
- See Also:
- Constant Field Values
TYPE_BASE_STEP_TYPE
public static final int TYPE_BASE_STEP_TYPE
- See Also:
- Constant Field Values
TYPE_DATABASE_CONNECTION
public static final int TYPE_DATABASE_CONNECTION
- See Also:
- Constant Field Values
TYPE_TRANS_HOP
public static final int TYPE_TRANS_HOP
- See Also:
- Constant Field Values
TYPE_TEXT
public static final int TYPE_TEXT
- See Also:
- Constant Field Values
TYPE_JOB_ENTRY
public static final int TYPE_JOB_ENTRY
- See Also:
- Constant Field Values
TYPE_BASE_JOB_ENTRY
public static final int TYPE_BASE_JOB_ENTRY
- See Also:
- Constant Field Values
TYPE_PHYSICAL_TABLE
public static final int TYPE_PHYSICAL_TABLE
- See Also:
- Constant Field Values
TYPE_PHYSICAL_COLUMN
public static final int TYPE_PHYSICAL_COLUMN
- See Also:
- Constant Field Values
TYPE_BUSINESS_VIEW
public static final int TYPE_BUSINESS_VIEW
- See Also:
- Constant Field Values
TYPE_BUSINESS_TABLE
public static final int TYPE_BUSINESS_TABLE
- See Also:
- Constant Field Values
TYPE_BUSINESS_COLUMN
public static final int TYPE_BUSINESS_COLUMN
- See Also:
- Constant Field Values
TYPE_RELATIONSHIP
public static final int TYPE_RELATIONSHIP
- See Also:
- Constant Field Values
TYPE_BUSINESS_MODEL
public static final int TYPE_BUSINESS_MODEL
- See Also:
- Constant Field Values
DragAndDropContainer
public DragAndDropContainer(int type,
String data)
- Create a new DragAndDropContainer
- Parameters:
type
- The type of drag&drop to performdata
- The data in the form of a String
DragAndDropContainer
public DragAndDropContainer(String xml)
throws KettleXMLException
- Construct a Drag and drop container from an XML String
- Parameters:
xml
- The XML string to convert from
- Throws:
KettleXMLException
getType
public int getType()
setType
public void setType(int type)
getData
public String getData()
setData
public void setData(String data)
getTypeCode
public String getTypeCode()
getType
public static final int getType(String typeCode)
getXML
public String getXML()
- Description copied from interface:
XMLInterface
- Describes the Object implementing this interface as XML
- Specified by:
getXML
in interface XMLInterface
- Returns:
- the XML string for this object