|
||||||||||
| 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.ButtonTableCreator
public class ButtonTableCreator
SWT table creator, which creates tables with "select" buttons as labels.
| Constructor Summary | |
|---|---|
ButtonTableCreator(int selectColumnsCount)
The default constructor. |
|
| Method Summary | |
|---|---|
void |
createTable(org.eclipse.swt.widgets.Composite container,
org.eclipse.swt.layout.GridData tableLData,
TabularData tabData,
Map<Integer,Integer> indicesMap)
Creates table basing on parsed tabular data. |
List<Integer> |
getSelectedColumnIndices()
Retrieves the selected column index of the entire tabular data (basing on the indices mapping). |
void |
selectTableColumn(int columnIndex)
Selects a specified column index in table. |
void |
selectTableColumns(List<Integer> columnIndices)
Method called by the mediating conversion rules configuration dialog in order to set the previously chosen table columns selection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ButtonTableCreator(int selectColumnsCount)
selectColumnsCount - the maximal number of columns allowed to be selected| Method Detail |
|---|
public void createTable(org.eclipse.swt.widgets.Composite container,
org.eclipse.swt.layout.GridData tableLData,
TabularData tabData,
Map<Integer,Integer> indicesMap)
container - the table containertableLData - the table layout datatabData - the data to be inserted into the tableindicesMap - the mapping of dialog tabular data column indices to the column indices of the entire tabular datapublic void selectTableColumns(List<Integer> columnIndices)
columnIndices - the indices of the columns that are to be selectedpublic void selectTableColumn(int columnIndex)
columnIndex - the column index to selectpublic List<Integer> getSelectedColumnIndices()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||