|
Oxygen XML Editor 13.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectDialog
ro.sync.ecss.extensions.commons.table.operations.ECTableCustomizerDialog
@API(type=INTERNAL,
src=PUBLIC)
public abstract class ECTableCustomizerDialogDialog used to customize the insertion of a generic table (number of rows, columns, table caption). It is used on Eclipse platform implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface ro.sync.ecss.extensions.commons.table.operations.TableCustomizerConstants |
|---|
TableCustomizerConstants.ColumnWidthsType |
| Field Summary | |
|---|---|
protected TableCustomizerConstants.ColumnWidthsType |
selectedColWidthsType
The selected column widths type |
| Fields inherited from interface ro.sync.ecss.extensions.commons.table.operations.TableCustomizerConstants |
|---|
CALS_WIDTHS_SPECIFICATIONS, COLS_DYNAMIC, COLS_FIXED, COLS_PROPORTIONAL, FRAME_ABOVE, FRAME_ALL, FRAME_BELLOW, FRAME_BORDER, FRAME_BOTTOM, FRAME_BOX, FRAME_HSIDES, FRAME_LHS, FRAME_NONE, FRAME_RHS, FRAME_SIDES, FRAME_TOP, FRAME_TOPBOT, FRAME_VOID, FRAME_VSIDES, HTML_WIDTHS_SPECIFICATIONS, SIMPLE_WIDTHS_SPECIFICATIONS |
| Constructor Summary | |
|---|---|
ECTableCustomizerDialog(Shell parentShell,
boolean hasFooter,
boolean hasFrameAttribute,
boolean showModelChooser)
Constructor for TrangDialog. |
|
ECTableCustomizerDialog(Shell parentShell,
boolean hasFooter,
boolean hasFrameAttribute,
boolean showModelChooser,
boolean showSimpleModel,
boolean innerCalsTable)
Constructor for TrangDialog. |
|
| Method Summary | |
|---|---|
protected void |
configureShell(Shell newShell)
Configure Shell. |
protected Control |
createDialogArea(Composite parent)
Create Dialog area. |
protected abstract Button |
createTitleCheckbox(Composite parent)
Create a checkbox with an implementation specific title. |
protected abstract java.util.List<TableCustomizerConstants.ColumnWidthsType> |
getColumnWidthsSpecifications(int tableModel)
Compute the possible values for the column widths specifications. |
protected abstract java.lang.String |
getDefaultFrameValue(int tableModel)
Get the default frame value. |
protected abstract java.lang.String[] |
getFrameValues(int tableModel)
Compute the possible values for 'frame' attribute. |
TableInfo |
showDialog(TableInfo tableInfo)
Show the dialog to customize the table attributes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TableCustomizerConstants.ColumnWidthsType selectedColWidthsType
| Constructor Detail |
|---|
public ECTableCustomizerDialog(Shell parentShell,
boolean hasFooter,
boolean hasFrameAttribute,
boolean showModelChooser)
parentShell - The parent shell for the dialog.hasFooter - If this table supports a footer.hasFrameAttribute - If the table has a frame attribute.showModelChooser - If true then show the dialog panel for choosing the table model,
one of CALS or HTML.
public ECTableCustomizerDialog(Shell parentShell,
boolean hasFooter,
boolean hasFrameAttribute,
boolean showModelChooser,
boolean showSimpleModel,
boolean innerCalsTable)
parentShell - The parent shell for the dialog.hasFooter - If this table supports a footer.hasFrameAttribute - If the table has a frame attribute.showModelChooser - If true then show the dialog panel for choosing the table model,
one of CALS or HTML.showSimpleModel - If true then show the simple model radio in
the model chooser.innerCalsTable - true if this is an inner calls table| Method Detail |
|---|
protected void configureShell(Shell newShell)
newShell - The new shell.org.eclipse.jface.dialogs.Dialog#configureShell(org.eclipse.swt.widgets.Shell)protected Control createDialogArea(Composite parent)
parent - The parent composite.
protected abstract java.lang.String[] getFrameValues(int tableModel)
'frame' attribute.
tableModel - The table model.
One of the constants:
TableInfo.TABLE_MODEL_CALS, TableInfo.TABLE_MODEL_CUSTOM,
TableInfo.TABLE_MODEL_DITA_SIMPLE, TableInfo.TABLE_MODEL_HTML.
'frame' attribute.protected abstract java.lang.String getDefaultFrameValue(int tableModel)
tableModel - The table model.
protected abstract java.util.List<TableCustomizerConstants.ColumnWidthsType> getColumnWidthsSpecifications(int tableModel)
tableModel - The table model.
One of the constants:
TableInfo.TABLE_MODEL_CALS, TableInfo.TABLE_MODEL_CUSTOM,
TableInfo.TABLE_MODEL_DITA_SIMPLE, TableInfo.TABLE_MODEL_HTML.
protected abstract Button createTitleCheckbox(Composite parent)
parent - The parent Composite.
public TableInfo showDialog(TableInfo tableInfo)
tableInfo -
null if the user canceled the table insertion.
|
Oxygen XML Editor 13.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||