Class TableColumnSetupWindow
java.lang.Object
com.biglybt.ui.swt.views.columnsetup.TableColumnSetupWindow
- All Implemented Interfaces:
UIUpdatable
- Direct Known Subclasses:
TableRowViewer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
private org.eclipse.swt.widgets.Button
private org.eclipse.swt.widgets.Button
private static final boolean
private org.eclipse.swt.widgets.Composite
private final TableColumnCore[]
private final TableColumnCore[]
private org.eclipse.swt.widgets.Combo
private org.eclipse.swt.widgets.Group
private org.eclipse.swt.widgets.Composite
private org.eclipse.swt.widgets.Composite
private org.eclipse.swt.dnd.DragSourceListener
private final Class
<?> private final String
private ArrayList
<TableColumnCore> private final TableStructureModificationListener
<?> private Map
<TableColumnCore, Boolean> private org.eclipse.swt.widgets.Button[]
private static final int
private final boolean
private final TableRow
private org.eclipse.swt.widgets.Shell
private static final int
static final String
private static final String
static final String
private TableViewSWT
<TableColumn> private TableViewSWT
<TableColumnCore> -
Constructor Summary
ConstructorsConstructorDescriptionTableColumnSetupWindow
(Class<?> forDataSourceType, String _tableID, TableColumnCore selectedColumn, TableRow sampleRow, TableStructureModificationListener<?> _listener, boolean _rowDetailsOnly) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
alignChosen
(int align) protected void
apply()
void
chooseColumn
(TableColumnCore column) void
chooseColumn
(TableColumnCore column, TableRowCore placeAboveRow, boolean ignoreExisting) private void
close()
private TableViewSWT
<TableColumn> private TableViewSWT
<TableColumnCore> protected void
private void
A name for this UIUpdatable so we can track who's being badboolean
isColumnAdded
(TableColumnCore column) protected void
protected void
protected void
protected void
setChosenColor
(int[] rgb, boolean fg) private void
setHasChanges
(boolean hasChanges) void
updateUI()
Update your UI!
-
Field Details
-
RESULT_AREA_WIDTH
private static final int RESULT_AREA_WIDTH -
SHELL_WIDTH
private static final int SHELL_WIDTH -
TABLEID_AVAIL
- See Also:
-
TABLEID_ROW_DETAILS
- See Also:
-
TABLEID_CHOSEN
- See Also:
-
CAT_BUTTONS
private static final boolean CAT_BUTTONS- See Also:
-
shell
private org.eclipse.swt.widgets.Shell shell -
tvAvail
-
forTableID
-
forDataSourceType
-
cTableAvail
private org.eclipse.swt.widgets.Composite cTableAvail -
cCategories
private org.eclipse.swt.widgets.Composite cCategories -
tvChosen
-
cTableChosen
private org.eclipse.swt.widgets.Composite cTableChosen -
columnsCurrentOrder
-
columnsOriginalOrder
-
sampleRow
-
rowDetailsOnly
private final boolean rowDetailsOnly -
dragSourceListener
private org.eclipse.swt.dnd.DragSourceListener dragSourceListener -
listener
-
apply
protected boolean apply -
radProficiency
private org.eclipse.swt.widgets.Button[] radProficiency -
mapNewVisibility
-
listColumnsNoCat
-
listCats
-
comboFilter
private org.eclipse.swt.widgets.Combo comboFilter -
cPickArea
private org.eclipse.swt.widgets.Group cPickArea -
btnApply
private org.eclipse.swt.widgets.Button btnApply -
btnExport
private org.eclipse.swt.widgets.Button btnExport
-
-
Constructor Details
-
TableColumnSetupWindow
public TableColumnSetupWindow(Class<?> forDataSourceType, String _tableID, TableColumnCore selectedColumn, TableRow sampleRow, TableStructureModificationListener<?> _listener, boolean _rowDetailsOnly)
-
-
Method Details
-
setHasChanges
private void setHasChanges(boolean hasChanges) -
fillChosen
private void fillChosen() -
fillAvail
protected void fillAvail() -
removeSelectedChosen
protected void removeSelectedChosen()- Since:
- 4.0.0.5
-
moveChosenDown
protected void moveChosenDown()- Since:
- 4.0.0.5
-
moveChosenUp
protected void moveChosenUp()- Since:
- 4.0.0.5
-
alignChosen
protected void alignChosen(int align) -
setChosenColor
protected void setChosenColor(int[] rgb, boolean fg) -
apply
protected void apply()- Since:
- 4.0.0.5
-
createTVChosen
- Returns:
- Since:
- 4.0.0.5
-
createTVAvail
- Returns:
- Since:
- 4.0.0.5
-
getUpdateUIName
Description copied from interface:UIUpdatable
A name for this UIUpdatable so we can track who's being bad- Specified by:
getUpdateUIName
in interfaceUIUpdatable
- Returns:
- some name
-
updateUI
public void updateUI()Description copied from interface:UIUpdatable
Update your UI!- Specified by:
updateUI
in interfaceUIUpdatable
-
getSampleRow
-
chooseColumn
-
isColumnAdded
-
chooseColumn
public void chooseColumn(TableColumnCore column, TableRowCore placeAboveRow, boolean ignoreExisting) - Parameters:
column
-- Since:
- 4.0.0.5
-
close
private void close()
-