/** * Specifies the <code>TreeItem</code> that is to be edited. * * @param item the item to be edited */ public void setItem (TreeItem item) { this.item = item; resize(); }
/** * Specifies the <code>TreeItem</code> that is to be edited. * * @param item the item to be edited */ public void setItem (TreeItem item) { this.item = item; resize(); }
/** * Specifies the <code>TreeItem</code> that is to be edited. * * @param item the item to be edited */ public void setItem (TreeItem item) { this.item = item; resize(); }
/** * Specifies the <code>TreeItem</code> that is to be edited. * * @param item the item to be edited */ public void setItem (TreeItem item) { this.item = item; resize(); }
/** * Specifies the <code>TreeItem</code> that is to be edited. * * @param item the item to be edited */ public void setItem (TreeItem item) { this.item = item; resize(); }
public void setItem( TreeItem item ) { this.item = item; resize(); }
@Override public void setEditor (Control editor) { super.setEditor(editor); resize(); }
@Override public void setEditor (Control editor) { super.setEditor(editor); resize(); }
@Override public void setEditor (Control editor) { super.setEditor(editor); resize(); }
@Override public void setEditor (Control editor) { super.setEditor(editor); resize(); }
public void setEditor( Control editor ) { super.setEditor( editor ); resize(); }
public void setEditor (Control editor) { super.setEditor(editor); resize(); }
/** * Sets the zero based index of the column 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 * * @since 3.1 */ public void setColumn(int column) { int columnCount = tree.getColumnCount(); // Separately handle the case where the tree has no TreeColumns. // In this situation, there is a single default column. if (columnCount == 0) { this.column = (column == 0) ? 0 : -1; resize(); return; } if (this.column > -1 && this.column < columnCount){ TreeColumn treeColumn = tree.getColumn(this.column); treeColumn.removeControlListener(columnListener); this.column = -1; } if (column < 0 || column >= tree.getColumnCount()) return; this.column = column; TreeColumn treeColumn = tree.getColumn(this.column); treeColumn.addControlListener(columnListener); resize(); }
/** * Sets the zero based index of the column 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 setColumn( int column ) { int columnCount = tree.getColumnCount(); // Separately handle the case where the tree has no TreeColumns. // In this situation, there is a single default column. if( columnCount == 0 ) { this.column = ( column == 0 ) ? 0 : -1; resize(); return; } if( this.column > -1 && this.column < columnCount ) { TreeColumn treeColumn = tree.getColumn( this.column ); treeColumn.removeControlListener( columnListener ); this.column = -1; } if( column < 0 || column >= tree.getColumnCount() ) return; this.column = column; TreeColumn treeColumn = tree.getColumn( this.column ); treeColumn.addControlListener( columnListener ); resize(); }
/** * Sets the zero based index of the column 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 * * @since 3.1 */ public void setColumn(int column) { int columnCount = tree.getColumnCount(); // Separately handle the case where the tree has no TreeColumns. // In this situation, there is a single default column. if (columnCount == 0) { this.column = (column == 0) ? 0 : -1; resize(); return; } if (this.column > -1 && this.column < columnCount){ TreeColumn treeColumn = tree.getColumn(this.column); treeColumn.removeControlListener(columnListener); this.column = -1; } if (column < 0 || column >= tree.getColumnCount()) return; this.column = column; TreeColumn treeColumn = tree.getColumn(this.column); treeColumn.addControlListener(columnListener); resize(); }
/** * Sets the zero based index of the column 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 * * @since 3.1 */ public void setColumn(int column) { int columnCount = tree.getColumnCount(); // Separately handle the case where the tree has no TreeColumns. // In this situation, there is a single default column. if (columnCount == 0) { this.column = (column == 0) ? 0 : -1; resize(); return; } if (this.column > -1 && this.column < columnCount){ TreeColumn treeColumn = tree.getColumn(this.column); treeColumn.removeControlListener(columnListener); this.column = -1; } if (column < 0 || column >= tree.getColumnCount()) return; this.column = column; TreeColumn treeColumn = tree.getColumn(this.column); treeColumn.addControlListener(columnListener); resize(); }
/** * Sets the zero based index of the column 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 * * @since 3.1 */ public void setColumn(int column) { int columnCount = tree.getColumnCount(); // Separately handle the case where the tree has no TreeColumns. // In this situation, there is a single default column. if (columnCount == 0) { this.column = (column == 0) ? 0 : -1; resize(); return; } if (this.column > -1 && this.column < columnCount){ TreeColumn treeColumn = tree.getColumn(this.column); treeColumn.removeControlListener(columnListener); this.column = -1; } if (column < 0 || column >= tree.getColumnCount()) return; this.column = column; TreeColumn treeColumn = tree.getColumn(this.column); treeColumn.addControlListener(columnListener); resize(); }
/** * Sets the zero based index of the column 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 * * @since 3.1 */ public void setColumn(int column) { int columnCount = tree.getColumnCount(); // Separately handle the case where the tree has no TreeColumns. // In this situation, there is a single default column. if (columnCount == 0) { this.column = (column == 0) ? 0 : -1; resize(); return; } if (this.column > -1 && this.column < columnCount){ TreeColumn treeColumn = tree.getColumn(this.column); treeColumn.removeControlListener(columnListener); this.column = -1; } if (column < 0 || column >= tree.getColumnCount()) return; this.column = column; TreeColumn treeColumn = tree.getColumn(this.column); treeColumn.addControlListener(columnListener); resize(); }