|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
ro.sync.ecss.extensions.commons.table.operations.ECTableCustomizerDialog
ro.sync.ecss.extensions.tei.table.ECTEITableCustomizerDialog
@API(type=INTERNAL, src=PUBLIC) public class ECTEITableCustomizerDialog
The dialog used to customize a TEI table. It is used on Eclipse platform implementation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
---|
org.eclipse.jface.window.Window.IExceptionHandler |
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 |
---|
authorResourceBundle, selectedColWidthsType |
Fields inherited from class org.eclipse.jface.dialogs.Dialog |
---|
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 |
Fields inherited from class org.eclipse.jface.window.Window |
---|
CANCEL, OK |
Fields inherited from interface ro.sync.ecss.extensions.commons.table.operations.TableCustomizerConstants |
---|
CALS_WIDTHS_SPECIFICATIONS, COLS_DYNAMIC, COLS_FIXED, COLS_PROPORTIONAL, 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_UNSPECIFIED, FRAME_VOID, FRAME_VSIDES, HTML_WIDTHS_SPECIFICATIONS, REL_COL_WIDTH_DEFAULT_VALUE, SIMPLE_WIDTHS_SPECIFICATIONS |
Constructor Summary | |
---|---|
ECTEITableCustomizerDialog(org.eclipse.swt.widgets.Shell parentShell,
AuthorResourceBundle authorResourceBundle,
int predefinedRowsCount,
int predefinedColumnsCount)
Constructor. |
Method Summary | |
---|---|
protected org.eclipse.swt.widgets.Button |
createTitleCheckbox(org.eclipse.swt.widgets.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)
In TEI we don't have a frame attribute. |
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.ECTableCustomizerDialog |
---|
configureShell, createDialogArea, showDialog |
Methods inherited from class org.eclipse.jface.dialogs.Dialog |
---|
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText |
Methods inherited from class org.eclipse.jface.window.Window |
---|
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ECTEITableCustomizerDialog(org.eclipse.swt.widgets.Shell parentShell, AuthorResourceBundle authorResourceBundle, int predefinedRowsCount, int predefinedColumnsCount)
parentShell
- The parent shell for the dialog.authorResourceBundle
- The author resource bundle.predefinedRowsCount
- The predefined number of rows.predefinedColumnsCount
- The predefined number of columns.Method Detail |
---|
protected java.util.List<TableCustomizerConstants.ColumnWidthsType> getColumnWidthsSpecifications(int tableModel)
ECTableCustomizerDialog
getColumnWidthsSpecifications
in class ECTableCustomizerDialog
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
.
ECTableCustomizerDialog.getColumnWidthsSpecifications(int)
protected java.lang.String[] getFrameValues(int tableModel)
getFrameValues
in class ECTableCustomizerDialog
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.ECTableCustomizerDialog.getFrameValues(int)
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.lang.String getDefaultFrameValue(int tableModel)
ECTableCustomizerDialog
getDefaultFrameValue
in class ECTableCustomizerDialog
tableModel
- The table model.
ECTableCustomizerDialog.getDefaultFrameValue(int)
|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |