/** * Specify the Control that is to be displayed and the cell in the table that it is to be positioned above. * * <p>Note: The Control provided as the editor <b>must</b> be created with its parent being the Table control * specified in the TableEditor constructor. * * @param editor the Control that is displayed above the cell being edited * @param item the TableItem for the row of the cell being tracked by this editor * @param column the zero based index of the column of the cell being tracked by this editor */ public void setEditor (Control editor, TableTreeItem item, int column) { setItem(item); setColumn(column); setEditor(editor); } @Override
@Override public void controlMoved(ControlEvent e){ layout (); } @Override
void setEditor(Control w, Item item, int columnNumber) { tableTreeEditor.setEditor(w, (TableTreeItem) item, columnNumber); }
/** * Creates a table tree viewer on the given table tree control. The viewer * has no input, no content provider, a default label provider, no sorter, * and no filters. * * @param tree * the table tree control */ @Deprecated public TableTreeViewer(TableTree tree) { super(); tableTree = tree; hookControl(tree); tableTreeEditor = new TableTreeEditor(tableTree); tableEditorImpl = new TableTreeEditorImpl(this); }
/** * Specify the Control that is to be displayed and the cell in the table that it is to be positioned above. * * <p>Note: The Control provided as the editor <b>must</b> be created with its parent being the Table control * specified in the TableEditor constructor. * * @param editor the Control that is displayed above the cell being edited * @param item the TableItem for the row of the cell being tracked by this editor * @param column the zero based index of the column of the cell being tracked by this editor */ public void setEditor (Control editor, TableTreeItem item, int column) { setItem(item); setColumn(column); setEditor(editor); } @Override
@Override public void controlResized(ControlEvent e){ layout (); } };
/** * Specify the Control that is to be displayed and the cell in the table that it is to be positioned above. * * <p>Note: The Control provided as the editor <b>must</b> be created with its parent being the Table control * specified in the TableEditor constructor. * * @param editor the Control that is displayed above the cell being edited * @param item the TableItem for the row of the cell being tracked by this editor * @param column the zero based index of the column of the cell being tracked by this editor */ public void setEditor (Control editor, TableTreeItem item, int column) { setItem(item); setColumn(column); setEditor(editor); } public void layout () {
@Override public void controlMoved(ControlEvent e){ layout (); } @Override
/** * Specify the Control that is to be displayed and the cell in the table that it is to be positioned above. * * <p>Note: The Control provided as the editor <b>must</b> be created with its parent being the Table control * specified in the TableEditor constructor. * * @param editor the Control that is displayed above the cell being edited * @param item the TableItem for the row of the cell being tracked by this editor * @param column the zero based index of the column of the cell being tracked by this editor */ public void setEditor (Control editor, TableTreeItem item, int column) { setItem(item); setColumn(column); setEditor(editor); } @Override
@Override public void controlMoved(ControlEvent e){ layout (); } @Override
/** * Specify the Control that is to be displayed and the cell in the table that it is to be positioned above. * * <p>Note: The Control provided as the editor <b>must</b> be created with its parent being the Table control * specified in the TableEditor constructor. * * @param editor the Control that is displayed above the cell being edited * @param item the TableItem for the row of the cell being tracked by this editor * @param column the zero based index of the column of the cell being tracked by this editor */ public void setEditor (Control editor, TableTreeItem item, int column) { setItem(item); setColumn(column); setEditor(editor); } @Override
@Override public void controlMoved(ControlEvent e){ layout (); } @Override
@Override public void controlResized(ControlEvent e){ layout (); } };
@Override public void controlResized(ControlEvent e){ layout (); } };
public void setItem (TableTreeItem item) { this.item = item; layout(); }
public void setItem (TableTreeItem item) { this.item = item; layout(); }
public void controlMoved(ControlEvent e){ layout (); } public void controlResized(ControlEvent e){
public void controlResized(ControlEvent e){ layout (); } };
public void setItem (TableTreeItem item) { this.item = item; layout(); }
public void setItem (TableTreeItem item) { this.item = item; layout(); }