Oxygen XML Editor 12.2 Author API

ro.sync.ecss.extensions.docbook.table
Class ECDocbookTableCustomizerDialog

java.lang.Object
  extended by Dialog
      extended by ro.sync.ecss.extensions.commons.table.operations.ECTableCustomizerDialog
          extended by ro.sync.ecss.extensions.docbook.table.ECDocbookTableCustomizerDialog
All Implemented Interfaces:
TableCustomizerConstants

public class ECDocbookTableCustomizerDialog
extends ECTableCustomizerDialog

Dialog used to customize DocBook table creation. 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
 
Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.ECTableCustomizerDialog
selectedColWidthsType
 
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
ECDocbookTableCustomizerDialog(org.eclipse.swt.widgets.Shell parentShell, boolean innerTable)
          Constructor.
 
Method Summary
protected  void configureShell(Shell newShell)
          Configure Shell.
protected  Button createTitleCheckbox(Composite parent)
          Create a checkbox with an implementation specific title.
protected  java.util.List<TableCustomizerConstants.ColumnWidthsType> getColumnWidthsSpecifications(int tableModel)
          Compute the possible values for the column widths specifications.
protected  java.lang.String getDefaultFrameValue(int tableModel)
          Get the default frame value.
protected  java.lang.String[] getFrameValues(int tableModel)
          Depending on the table model, CALS or HTML, return different values for 'frame' attribute.
 
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.ECTableCustomizerDialog
createDialogArea, showDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECDocbookTableCustomizerDialog

public ECDocbookTableCustomizerDialog(org.eclipse.swt.widgets.Shell parentShell,
                                      boolean innerTable)
Constructor.

Parameters:
parentShell - The parent Shell.
innerTable - true if show for inner table
Method Detail

configureShell

protected void configureShell(Shell newShell)
Configure Shell. Set a title to it.

Overrides:
configureShell in class ECTableCustomizerDialog
Parameters:
newShell - The new shell.
See Also:
org.eclipse.jface.dialogs.Dialog#configureShell(org.eclipse.swt.widgets.Shell)

createTitleCheckbox

protected Button createTitleCheckbox(Composite parent)
Description copied from class: ECTableCustomizerDialog
Create a checkbox with an implementation specific title.

Specified by:
createTitleCheckbox in class ECTableCustomizerDialog
Parameters:
parent - The parent Composite.
Returns:
The title checkbox customized according to implementation.
See Also:
ro.sync.ecss.extensions.commons.table.operations.ECTableCustomizerDialog#createTitleCheckbox(org.eclipse.swt.widgets.Composite)

getColumnWidthsSpecifications

protected java.util.List<TableCustomizerConstants.ColumnWidthsType> getColumnWidthsSpecifications(int tableModel)
Description copied from class: ECTableCustomizerDialog
Compute the possible values for the column widths specifications.

Specified by:
getColumnWidthsSpecifications in class ECTableCustomizerDialog
Parameters:
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.
Returns:
Returns the possible values for the column widths modifications.
See Also:
ECTableCustomizerDialog.getColumnWidthsSpecifications(int)

getFrameValues

protected java.lang.String[] getFrameValues(int tableModel)
Depending on the table model, CALS or HTML, return different values for 'frame' attribute.

Specified by:
getFrameValues in class ECTableCustomizerDialog
Parameters:
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.
Returns:
Returns the possible values for 'frame' attribute.
See Also:
ECTableCustomizerDialog.getFrameValues(int)

getDefaultFrameValue

protected java.lang.String getDefaultFrameValue(int tableModel)
Description copied from class: ECTableCustomizerDialog
Get the default frame value.

Specified by:
getDefaultFrameValue in class ECTableCustomizerDialog
Parameters:
tableModel - The table model.
Returns:
The default frame value
See Also:
ECTableCustomizerDialog.getDefaultFrameValue(int)

Oxygen XML Editor 12.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.