edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog Class Reference

Class to show the dialog box of columns properties such as show/hidden. More...

Inheritance diagram for edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog:
Inheritance graph
[legend]
Collaboration diagram for edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog:
Collaboration graph
[legend]

List of all members.

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< PropertiesModelarrElements

Static Private Attributes

static final String HISTORY_COLUMN_PROPERTY = "column_property"
static final String HISTORY_APPLY_ALL = "apply-all"

Detailed Description

Class to show the dialog box of columns properties such as show/hidden.

Definition at line 47 of file ColumnPropertiesDialog.java.


Constructor & Destructor Documentation

edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.ColumnPropertiesDialog ( Shell  parentShell  ) 

Constructor column properties dialog ATT: need to call setData to setup the column.

Parameters:
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.

Parameters:
shell 
columns 

Definition at line 80 of file ColumnPropertiesDialog.java.

References edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.objColumns.


Member Function Documentation

Control edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.createContents ( Composite  parent  )  [protected]

Creates the dialog's contents.

Parameters:
parent the parent composite
Returns:
Control

Definition at line 95 of file ColumnPropertiesDialog.java.

Control edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.createDialogArea ( Composite  aParent  )  [protected]
Object [] edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getCheckedItemsFromGlobalVariable (  )  [protected]
boolean edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getHistory (  )  [protected]
boolean [] edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.getResult (  ) 

Get the list of checked and unchecked items.

Returns:
the array of true/false

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.

Returns:

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]
void edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.okPressed (  )  [protected]
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 !!

Parameters:
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 (  ) 
void edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.setHistory ( boolean  value  )  [protected]
void edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.updateContent (  ) 

Member Data Documentation

final String edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.HISTORY_APPLY_ALL = "apply-all" [static, private]
final String edu.rice.cs.hpc.viewer.util.ColumnPropertiesDialog.HISTORY_COLUMN_PROPERTY = "column_property" [static, private]

The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1