Class RefinedTreeViewer.TreeAdapter
java.lang.Object
org.eclipse.mat.ui.internal.viewer.RefinedTreeViewer.TreeAdapter
- Enclosing class:
- RefinedTreeViewer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
createColumn
(Column queryColumn, int index, SelectionListener listener) createControl
(Composite parent) int[]
int
getColumnWidth
(int col) getFont()
getImageBounds
(Item item, int index) int
getItemCount
(Item item) int
getParentItem
(Item item) Item[]
int
getTextBounds
(Widget item, int index) int
void
setColumnOrder
(int[] order) void
setColumnWidth
(int col, int width) void
void
setExpanded
(Item item, boolean expanded) void
setItemCount
(Item item, int count) void
setSortColumn
(Item column) void
setSortDirection
(int direction)
-
Constructor Details
-
TreeAdapter
public TreeAdapter()
-
-
Method Details
-
createControl
-
createEditor
-
getItem
-
setExpanded
-
setItemCount
-
getItem
-
setEditor
-
getParentItem
-
getSelection
-
createColumn
-
getFont
-
getSortColumn
-
getSortDirection
public int getSortDirection() -
setSortColumn
-
setSortDirection
public void setSortDirection(int direction) -
getItemCount
-
indexOf
-
getBounds
-
getTextBounds
-
getImageBounds
-
apply
-
apply
-
apply
-
getLineHeightEstimation
public int getLineHeightEstimation() -
getColumnOrder
public int[] getColumnOrder() -
setColumnOrder
public void setColumnOrder(int[] order) -
getColumnWidth
public int getColumnWidth(int col) -
setColumnWidth
public void setColumnWidth(int col, int width)
-