|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.importer.wizard.utils.ComboBoxTableCreator
public class ComboBoxTableCreator
SWT table creator, which creates tables with comboboxes as labels and configuration buttons above.
Constructor Summary | |
---|---|
ComboBoxTableCreator(AnalyzersSelectionPage mediator)
The default constructor. |
Method Summary | |
---|---|
void |
createTable(org.eclipse.swt.widgets.Composite container,
String[] comboItems,
Object[] comboData,
RawTabularData rawTabData)
Creates table basing on column names and tokenized raw tabular data. |
void |
disableConfigButton(int columnIndex)
Disables configuration button in column with the specified index. |
void |
enableConfigButton(int columnIndex)
Enables configuration button in column with the specified index. |
List<String> |
getDistinctTokensInColumn(int columnIndex)
Delegate method. |
List<String> |
getSelectedColumnCaptions()
Retrieves the selected captions for tabular data columns. |
List<Object> |
getSelectedComboData()
Retrieves the selected combobox data (analyzers). |
void |
widgetModified()
Delegated method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComboBoxTableCreator(AnalyzersSelectionPage mediator)
mediator
- the mediating wizard pageMethod Detail |
---|
public void createTable(org.eclipse.swt.widgets.Composite container, String[] comboItems, Object[] comboData, RawTabularData rawTabData)
container
- the table containercomboItems
- the combobox itemscomboData
- the combobox datarawTabData
- the data to be inserted into the tablepublic void enableConfigButton(int columnIndex)
columnIndex
- the column indexpublic void disableConfigButton(int columnIndex)
columnIndex
- the column indexpublic void widgetModified()
AnalyzersSelectionPage.widgetModified()
public List<String> getDistinctTokensInColumn(int columnIndex)
RawTabularData.getDistinctTokensInColumn(int)
public List<Object> getSelectedComboData()
public List<String> getSelectedColumnCaptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |