@API(type=INTERNAL, src=PUBLIC) public class ECDocbookTableCustomizerDialog extends ECTableCustomizerDialog
org.eclipse.jface.window.Window.IExceptionHandler
TableCustomizerConstants.ColumnWidthsType
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
ALIGN_VALUES_DB_4
Array with possible values for the alignment in DocBook4.
|
static java.lang.String[] |
ALIGN_VALUES_DB_5
Array with possible values for the alignment in DocBook5.
|
authorResourceBundle, selectedColWidthsType
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
CALS_WIDTHS_SPECIFICATIONS, CENTER, CHAR, COLS_DYNAMIC, COLS_FIXED, COLS_PROPORTIONAL, DITA_CONREF, FIXED_COL_WIDTH_DEFAULT_VALUE, 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, JUSTIFY, LEFT, REL_COL_WIDTH_DEFAULT_VALUE, RIGHT, SIMPLE_WIDTHS_SPECIFICATIONS, UNSPECIFIED
Constructor and Description |
---|
ECDocbookTableCustomizerDialog(AuthorAccess authorAccess,
org.eclipse.swt.widgets.Shell parentShell,
boolean innerTable,
AuthorResourceBundle authorResourceBundle,
int predefinedRowsCount,
int predefinedColumnsCount,
int defaultTableModel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureShell(org.eclipse.swt.widgets.Shell newShell)
Configure Shell.
|
protected org.eclipse.swt.widgets.Button |
createTitleCheckbox(org.eclipse.swt.widgets.Composite parent)
Create a checkbox with an implementation specific title.
|
protected java.lang.String[] |
getAlignValues(int tableModelType)
Compute the possible values for
'align' attribute. |
protected java.lang.String[] |
getColsepValues(int tableModelType)
Compute the possible values for
'colsep' attribute. |
protected java.util.List<TableCustomizerConstants.ColumnWidthsType> |
getColumnWidthsSpecifications(int tableModelType)
Compute the possible values for the column widths specifications.
|
protected java.lang.String |
getDefaultAlignValue(int tableModelType)
Get the default align value.
|
protected java.lang.String |
getDefaultColsepValue(int tableModelType)
Get the default column separator value.
|
protected java.lang.String |
getDefaultFrameValue(int tableModelType)
Get the default frame value.
|
protected java.lang.String |
getDefaultRowsepValue(int tableModelType)
Get the default row separator value.
|
protected java.lang.String[] |
getFrameValues(int tableModelType)
Depending on the table model, CALS or HTML, return different values for 'frame' attribute.
|
java.lang.String |
getHelpPageID()
Get the ID of the help page which will be called by the end user.
|
protected java.lang.String[] |
getRowsepValues(int tableModelType)
Compute the possible values for
'rowsep' attribute. |
createButtonsForButtonBar, createDialogArea, showDialog
close, closeTray, createButtonBar, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
public static final java.lang.String[] ALIGN_VALUES_DB_5
public static final java.lang.String[] ALIGN_VALUES_DB_4
public ECDocbookTableCustomizerDialog(AuthorAccess authorAccess, org.eclipse.swt.widgets.Shell parentShell, boolean innerTable, AuthorResourceBundle authorResourceBundle, int predefinedRowsCount, int predefinedColumnsCount, int defaultTableModel)
authorAccess
- The Author access.parentShell
- The parent Shell
.innerTable
- true
if show for inner table.authorResourceBundle
- The author resource bundle.predefinedRowsCount
- The predefined number of rows.predefinedColumnsCount
- The predefined number of columns.defaultTableModel
- The default model of the table that will be inserted.protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
configureShell
in class ECTableCustomizerDialog
newShell
- The new shell.Window.configureShell(org.eclipse.swt.widgets.Shell)
protected org.eclipse.swt.widgets.Button createTitleCheckbox(org.eclipse.swt.widgets.Composite parent)
ECTableCustomizerDialog
createTitleCheckbox
in class ECTableCustomizerDialog
parent
- The parent Composite
.ECTableCustomizerDialog.createTitleCheckbox(org.eclipse.swt.widgets.Composite)
protected java.util.List<TableCustomizerConstants.ColumnWidthsType> getColumnWidthsSpecifications(int tableModelType)
ECTableCustomizerDialog
getColumnWidthsSpecifications
in class ECTableCustomizerDialog
tableModelType
- The table model type.
One of the constants:
TableInfo.TABLE_MODEL_CALS
, TableInfo.TABLE_MODEL_CUSTOM
,
TableInfo.TABLE_MODEL_DITA_SIMPLE
, TableInfo.TABLE_MODEL_HTML
.ECTableCustomizerDialog.getColumnWidthsSpecifications(int)
protected java.lang.String[] getFrameValues(int tableModelType)
getFrameValues
in class ECTableCustomizerDialog
tableModelType
- The table model type.
One of the constants:
TableInfo.TABLE_MODEL_CALS
, TableInfo.TABLE_MODEL_CUSTOM
,
TableInfo.TABLE_MODEL_DITA_SIMPLE
, TableInfo.TABLE_MODEL_HTML
.'frame'
attribute.ECTableCustomizerDialog.getFrameValues(int)
protected java.lang.String getDefaultFrameValue(int tableModelType)
ECTableCustomizerDialog
getDefaultFrameValue
in class ECTableCustomizerDialog
tableModelType
- The table model type.
One of the constants:
TableInfo.TABLE_MODEL_CALS
, TableInfo.TABLE_MODEL_CUSTOM
,
TableInfo.TABLE_MODEL_DITA_SIMPLE
, TableInfo.TABLE_MODEL_HTML
.ECTableCustomizerDialog.getDefaultFrameValue(int)
protected java.lang.String[] getRowsepValues(int tableModelType)
ECTableCustomizerDialog
'rowsep'
attribute.getRowsepValues
in class ECTableCustomizerDialog
tableModelType
- The table model type.
One of the constants:
TableInfo.TABLE_MODEL_CALS
, TableInfo.TABLE_MODEL_CUSTOM
,
TableInfo.TABLE_MODEL_DITA_SIMPLE
, TableInfo.TABLE_MODEL_HTML
.'rowsep'
attribute.ECTableCustomizerDialog.getRowsepValues(int)
protected java.lang.String[] getColsepValues(int tableModelType)
ECTableCustomizerDialog
'colsep'
attribute.getColsepValues
in class ECTableCustomizerDialog
tableModelType
- The table model.
One of the constants:
TableInfo.TABLE_MODEL_CALS
, TableInfo.TABLE_MODEL_CUSTOM
,
TableInfo.TABLE_MODEL_DITA_SIMPLE
, TableInfo.TABLE_MODEL_HTML
.'colsep'
attribute.ECTableCustomizerDialog.getColsepValues(int)
protected java.lang.String getDefaultRowsepValue(int tableModelType)
ECTableCustomizerDialog
getDefaultRowsepValue
in class ECTableCustomizerDialog
tableModelType
- The table model type.
One of the constants:
TableInfo.TABLE_MODEL_CALS
, TableInfo.TABLE_MODEL_CUSTOM
,
TableInfo.TABLE_MODEL_DITA_SIMPLE
, TableInfo.TABLE_MODEL_HTML
.ECTableCustomizerDialog.getDefaultRowsepValue(int)
protected java.lang.String getDefaultColsepValue(int tableModelType)
ECTableCustomizerDialog
getDefaultColsepValue
in class ECTableCustomizerDialog
tableModelType
- The table model type.
One of the constants:
TableInfo.TABLE_MODEL_CALS
, TableInfo.TABLE_MODEL_CUSTOM
,
TableInfo.TABLE_MODEL_DITA_SIMPLE
, TableInfo.TABLE_MODEL_HTML
.ECTableCustomizerDialog.getDefaultColsepValue(int)
protected java.lang.String[] getAlignValues(int tableModelType)
ECTableCustomizerDialog
'align'
attribute.getAlignValues
in class ECTableCustomizerDialog
tableModelType
- The table model type.
One of the constants:
TableInfo.TABLE_MODEL_CALS
, TableInfo.TABLE_MODEL_CUSTOM
,
TableInfo.TABLE_MODEL_DITA_SIMPLE
, TableInfo.TABLE_MODEL_HTML
.'align'
attribute.ECTableCustomizerDialog.getAlignValues(int)
protected java.lang.String getDefaultAlignValue(int tableModelType)
ECTableCustomizerDialog
getDefaultAlignValue
in class ECTableCustomizerDialog
tableModelType
- The table model type.
One of the constants:
TableInfo.TABLE_MODEL_CALS
, TableInfo.TABLE_MODEL_CUSTOM
,
TableInfo.TABLE_MODEL_DITA_SIMPLE
, TableInfo.TABLE_MODEL_HTML
.ECTableCustomizerDialog.getDefaultAlignValue(int)
public java.lang.String getHelpPageID()
ECTableCustomizerDialog
getHelpPageID
in class ECTableCustomizerDialog
null
.ECTableCustomizerDialog.getHelpPageID()
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.