@Deprecated public class AdapterFactoryTableTreeEditor extends ExtendedTableTreeEditor
org.eclipse.swt.custom.TableTreeEditor
s that
delegate to adapters produced by an AdapterFactory
.
This API is under construction; please do not use it for anything more than experimentation.AdapterFactoryTreeEditor
Modifier and Type | Field and Description |
---|---|
protected Control |
activeEditor
Deprecated.
|
protected AdapterFactory |
adapterFactory
Deprecated.
|
protected Composite |
canvas
Deprecated.
|
protected int |
currentColumn
Deprecated.
|
protected TableItem |
currentTableItem
Deprecated.
|
protected TableTreeItem |
currentTableTreeItem
Deprecated.
|
protected java.lang.Object |
currentTableTreeItemData
Deprecated.
|
protected boolean |
hasDropDown
Deprecated.
|
protected boolean |
hasLaunched
Deprecated.
|
protected boolean |
isDown
Deprecated.
|
protected AdapterFactoryItemDelegator |
itemDelegator
Deprecated.
|
protected KeyListener |
keyListener
Deprecated.
|
protected Image |
leftGradient
Deprecated.
|
protected PaintListener |
paintListener
Deprecated.
|
protected Image |
rightGradient
Deprecated.
|
editTableTreeItem, editTableTreeItemColumn, selectedTableItem, table, tableTree
Constructor and Description |
---|
AdapterFactoryTableTreeEditor(TableTree tableTree,
AdapterFactory adapterFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
activate()
Deprecated.
|
protected static Rectangle |
adjust(Rectangle bounds,
Rectangle baseBounds)
Deprecated.
|
void |
apply()
Deprecated.
|
protected void |
arrowDown()
Deprecated.
|
protected void |
arrowLeft()
Deprecated.
|
protected void |
arrowRight()
Deprecated.
|
protected void |
arrowUp()
Deprecated.
|
void |
cancel()
Deprecated.
|
protected Composite |
createComposite()
Deprecated.
|
Control |
createDropDownEditor(Composite parent,
java.lang.Object object,
int column)
Deprecated.
|
void |
createLaunchedEditor(Composite parent,
java.lang.Object object,
int column)
Deprecated.
|
void |
dismiss()
Deprecated.
|
protected static void |
drawImage(GC gc,
Image image,
Rectangle bounds)
Deprecated.
|
protected void |
editItem(TableItem tableItem,
TableTreeItem tableTreeItem,
int column)
Deprecated.
|
AdapterFactory |
getAdapterFactory()
Deprecated.
|
IItemPropertyDescriptor |
getColumnPropertyDescriptor(java.lang.Object object,
int column)
Deprecated.
|
protected void |
getGradients()
Deprecated.
|
protected static Rectangle |
getImageBounds(TableItem item,
int column)
Deprecated.
|
protected Image |
getLeftGradient()
Deprecated.
|
protected Image |
getRightGradient()
Deprecated.
|
boolean |
hasDropDownEditor(java.lang.Object object,
int column)
Deprecated.
|
boolean |
hasInPlaceEditor(java.lang.Object object,
int column)
Deprecated.
|
boolean |
hasLaunchedEditor(java.lang.Object object,
int column)
Deprecated.
|
protected boolean |
isDown()
Deprecated.
|
void |
paintControl(PaintEvent event)
Deprecated.
|
void |
setAdapterFactory(AdapterFactory adapterFactory)
Deprecated.
|
protected void |
setDown(boolean isDown)
Deprecated.
|
keyPressed, keyReleased, mouseDoubleClick, mouseDown, mouseUp, setEditor, widgetDefaultSelected, widgetSelected
protected AdapterFactory adapterFactory
protected AdapterFactoryItemDelegator itemDelegator
protected TableItem currentTableItem
protected TableTreeItem currentTableTreeItem
protected java.lang.Object currentTableTreeItemData
protected int currentColumn
protected Image leftGradient
protected Image rightGradient
protected Composite canvas
protected KeyListener keyListener
protected PaintListener paintListener
protected Control activeEditor
protected boolean isDown
protected boolean hasDropDown
protected boolean hasLaunched
public AdapterFactoryTableTreeEditor(TableTree tableTree, AdapterFactory adapterFactory)
public AdapterFactory getAdapterFactory()
public void setAdapterFactory(AdapterFactory adapterFactory)
public IItemPropertyDescriptor getColumnPropertyDescriptor(java.lang.Object object, int column)
public boolean hasInPlaceEditor(java.lang.Object object, int column)
public boolean hasDropDownEditor(java.lang.Object object, int column)
public Control createDropDownEditor(Composite parent, java.lang.Object object, int column)
public boolean hasLaunchedEditor(java.lang.Object object, int column)
public void createLaunchedEditor(Composite parent, java.lang.Object object, int column)
protected void setDown(boolean isDown)
protected boolean isDown()
protected void editItem(TableItem tableItem, TableTreeItem tableTreeItem, int column)
editItem
in class ExtendedTableTreeEditor
protected Composite createComposite()
protected void activate()
public void cancel()
public void apply()
public void dismiss()
dismiss
in class ExtendedTableTreeEditor
protected void arrowLeft()
protected void arrowRight()
protected void arrowUp()
protected void arrowDown()
protected static Rectangle adjust(Rectangle bounds, Rectangle baseBounds)
protected static Rectangle getImageBounds(TableItem item, int column)
protected static void drawImage(GC gc, Image image, Rectangle bounds)
public void paintControl(PaintEvent event)
protected Image getLeftGradient()
protected Image getRightGradient()
protected void getGradients()