Class to show the dialog box of columns properties such as show/hidden. More...
Classes | |
class | CheckLabelProvider |
Label provider for the table. More... | |
class | ColumnCheckTableViewer |
Class to mimic CheckboxTableViewer to accept the update of checked items. More... | |
class | ColumnFilter |
Class to filter the content of the table of columns. More... | |
class | PropertiesModel |
Data model for the column properties Containing two items: the state and the title. More... | |
Public Member Functions | |
ColumnPropertiesDialog (Shell parentShell) | |
Constructor column properties dialog ATT: need to call setData to setup the column. | |
ColumnPropertiesDialog (Shell shell, TreeColumn[]columns) | |
Constructor with column. | |
void | setData (TreeColumn[]columns) |
get the information about columns Need to call this if the table changes its columns !! | |
void | updateContent () |
Populate the content of the table with the new information. | |
boolean[] | getResult () |
Get the list of checked and unchecked items. | |
boolean | getStatusApplication () |
Return the status if the modification is to apply to all views or not. | |
void | setExample () |
Example for the test unit. | |
Static Public Member Functions | |
static void | main (String[]args) |
test unit | |
Protected Member Functions | |
Control | createContents (Composite parent) |
Creates the dialog's contents. | |
Control | createDialogArea (Composite aParent) |
Creates the gray area. | |
Object[] | getCheckedItemsFromGlobalVariable () |
boolean | getHistory () |
void | setHistory (boolean value) |
void | okPressed () |
Protected Attributes | |
ColumnCheckTableViewer | objCheckBoxTable |
TreeColumn[] | objColumns |
boolean[] | results |
Button | btnApplyToAllViews |
boolean | isAppliedToAllViews = false |
Text | objSearchText |
ArrayList< PropertiesModel > | arrElements |
Static Private Attributes | |
static final String | HISTORY_COLUMN_PROPERTY = "column_property" |
static final String | HISTORY_APPLY_ALL = "apply-all" |
Class to show the dialog box of columns properties such as show/hidden.
Definition at line 47 of file ColumnPropertiesDialog.java.
edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.ColumnPropertiesDialog | ( | Shell | parentShell | ) |
Constructor column properties dialog ATT: need to call setData to setup the column.
parentShell |
Definition at line 69 of file ColumnPropertiesDialog.java.
Referenced by edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.main().
edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.ColumnPropertiesDialog | ( | Shell | shell, | |
TreeColumn[] | columns | |||
) |
Constructor with column.
shell | ||
columns |
Definition at line 80 of file ColumnPropertiesDialog.java.
References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.objColumns.
Control edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.createContents | ( | Composite | parent | ) | [protected] |
Creates the dialog's contents.
parent | the parent composite |
Definition at line 95 of file ColumnPropertiesDialog.java.
Control edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.createDialogArea | ( | Composite | aParent | ) | [protected] |
Creates the gray area.
parent | the parent composite |
Definition at line 113 of file ColumnPropertiesDialog.java.
References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.arrElements, edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.btnApplyToAllViews, edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getCheckedItemsFromGlobalVariable(), edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getHistory(), edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.PropertiesModel.iIndex, edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.PropertiesModel.isVisible, edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.objCheckBoxTable, edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.objSearchText, edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.ColumnCheckTableViewer.setAllChecked(), edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.ColumnCheckTableViewer.setCheckedElements(), edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.ColumnFilter.setKey(), and edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.updateContent().
Object [] edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getCheckedItemsFromGlobalVariable | ( | ) | [protected] |
Definition at line 227 of file ColumnPropertiesDialog.java.
References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.arrElements.
Referenced by edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.createDialogArea().
boolean edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getHistory | ( | ) | [protected] |
Definition at line 243 of file ColumnPropertiesDialog.java.
References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.HISTORY_APPLY_ALL, and edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.HISTORY_COLUMN_PROPERTY.
Referenced by edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.createDialogArea().
boolean [] edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getResult | ( | ) |
Get the list of checked and unchecked items.
Definition at line 328 of file ColumnPropertiesDialog.java.
References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.results.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.showColumnsProperties().
boolean edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getStatusApplication | ( | ) |
Return the status if the modification is to apply to all views or not.
Definition at line 336 of file ColumnPropertiesDialog.java.
References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.isAppliedToAllViews.
Referenced by edu.rice.cs.hpc.viewer.scope.ScopeViewActionsGUI.showColumnsProperties().
static void edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.main | ( | String[] | args | ) | [static] |
test unit
Definition at line 496 of file ColumnPropertiesDialog.java.
References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.ColumnPropertiesDialog().
void edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.okPressed | ( | ) | [protected] |
Definition at line 260 of file ColumnPropertiesDialog.java.
References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.arrElements, edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.btnApplyToAllViews, edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.isAppliedToAllViews, edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.results, and edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.setHistory().
void edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.setData | ( | TreeColumn[] | columns | ) |
get the information about columns Need to call this if the table changes its columns !!
objModels |
Definition at line 282 of file ColumnPropertiesDialog.java.
References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.objColumns.
void edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.setExample | ( | ) |
Example for the test unit.
Definition at line 479 of file ColumnPropertiesDialog.java.
References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.objCheckBoxTable, and edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.ColumnCheckTableViewer.setCheckedElements().
void edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.setHistory | ( | boolean | value | ) | [protected] |
Definition at line 251 of file ColumnPropertiesDialog.java.
References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.HISTORY_APPLY_ALL, and edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.HISTORY_COLUMN_PROPERTY.
Referenced by edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.okPressed().
void edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.updateContent | ( | ) |
Populate the content of the table with the new information.
Definition at line 289 of file ColumnPropertiesDialog.java.
References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.arrElements, edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.objCheckBoxTable, edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.objColumns, edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.results, and edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.ColumnCheckTableViewer.setCheckedElements().
Referenced by edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.createDialogArea().
ArrayList<PropertiesModel> edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.arrElements [protected] |
Definition at line 59 of file ColumnPropertiesDialog.java.
Referenced by edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.createDialogArea(), edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getCheckedItemsFromGlobalVariable(), edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.okPressed(), and edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.updateContent().
Button edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.btnApplyToAllViews [protected] |
Definition at line 55 of file ColumnPropertiesDialog.java.
Referenced by edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.createDialogArea(), and edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.okPressed().
final String edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.HISTORY_APPLY_ALL = "apply-all" [static, private] |
Definition at line 50 of file ColumnPropertiesDialog.java.
Referenced by edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getHistory(), and edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.setHistory().
final String edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.HISTORY_COLUMN_PROPERTY = "column_property" [static, private] |
Definition at line 49 of file ColumnPropertiesDialog.java.
Referenced by edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getHistory(), and edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.setHistory().
boolean edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.isAppliedToAllViews = false [protected] |
Definition at line 56 of file ColumnPropertiesDialog.java.
Referenced by edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getStatusApplication(), and edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.okPressed().
TreeColumn [] edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.objColumns [protected] |
Text edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.objSearchText [protected] |
Definition at line 57 of file ColumnPropertiesDialog.java.
Referenced by edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.createDialogArea().
boolean [] edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.results [protected] |