Package org.pentaho.di.ui.spoon
Class TreeSelection
java.lang.Object
org.pentaho.di.ui.spoon.TreeSelection
-
Constructor Summary
ConstructorsConstructorDescriptionTreeSelection(String itemText, Object selection) TreeSelection(String itemText, Object selection, Object parent) TreeSelection(String itemText, Object selection, Object parent, Object grandParent) TreeSelection(org.eclipse.swt.widgets.TreeItem treeItem, String itemText, Object selection) TreeSelection(org.eclipse.swt.widgets.TreeItem treeItem, String itemText, Object selection, Object parent, Object grandParent) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.swt.widgets.TreeItemvoidsetGrandParent(Object grandParent) voidsetItemText(String description) voidvoidsetSelection(Object selection) voidsetTreeItem(org.eclipse.swt.widgets.TreeItem treeItem)
-
Constructor Details
-
TreeSelection
public TreeSelection(org.eclipse.swt.widgets.TreeItem treeItem, String itemText, Object selection, Object parent, Object grandParent) - Parameters:
selection-parent-grandParent-
-
TreeSelection
-
TreeSelection
- Parameters:
selection-parent-
-
TreeSelection
- Parameters:
selection-
-
TreeSelection
- Parameters:
selection-
-
-
Method Details
-
getGrandParent
- Returns:
- the grandParent
-
setGrandParent
- Parameters:
grandParent- the grandParent to set
-
getParent
- Returns:
- the parent
-
setParent
- Parameters:
parent- the parent to set
-
getSelection
- Returns:
- the selection
-
setSelection
- Parameters:
selection- the selection to set
-
getItemText
- Returns:
- the description
-
setItemText
- Parameters:
description- the description to set
-
getTreeItem
public org.eclipse.swt.widgets.TreeItem getTreeItem() -
setTreeItem
public void setTreeItem(org.eclipse.swt.widgets.TreeItem treeItem)
-