|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
pl.edu.agh.cast.importer.wizard.page.ValidationPageComposite
public class ValidationPageComposite
The main composite of the ValidationPage.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.swt.widgets.Composite |
|---|
embeddedHandle |
| Fields inherited from class org.eclipse.swt.widgets.Widget |
|---|
handle |
| Constructor Summary | |
|---|---|
ValidationPageComposite(org.eclipse.swt.widgets.Composite parent,
int style,
ValidationPage mediator)
The default constructor. |
|
| Method Summary | |
|---|---|
void |
changeRowValue(DataRow row,
int index,
String value)
Delegates method to ImportProcess#changeRowValue(DataRow, int, String). |
void |
deleteRowsWithErrors(List<AbstractErrorLogData> errorsToDelete)
Removes all rows containing the errors specified. |
String |
getEmptyTokenReplacement(int columnIndex)
Retrieves the empty tokens' replacement for column with the specified index. |
boolean |
isDataEmpty()
|
boolean |
isErrorsPresent()
|
void |
refreshPage(TabularData tabData,
ErrorsLog errors)
Refreshes the page. |
void |
replaceEmptyTokens(String newValue,
int columnIndex)
Replaces null and empty tokens contained in all data rows in specified column with the specified newValue. |
void |
restoreEmptyTokens(int columnIndex)
Restores empty tokens, previously contained in all data rows in the specified column. |
void |
rowContentChanged(DataRow row)
Notifies about changes in row content. |
| Methods inherited from class org.eclipse.swt.widgets.Composite |
|---|
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Scrollable |
|---|
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar |
| Methods inherited from class org.eclipse.swt.widgets.Control |
|---|
addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
|---|
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValidationPageComposite(org.eclipse.swt.widgets.Composite parent,
int style,
ValidationPage mediator)
parent - the parent compositestyle - the style of widget to constructmediator - the mediating wizard page| Method Detail |
|---|
public void deleteRowsWithErrors(List<AbstractErrorLogData> errorsToDelete)
errorsToDelete - the errors to delete
public void replaceEmptyTokens(String newValue,
int columnIndex)
newValue - the value to replace the empty tokenscolumnIndex - the column indexpublic void restoreEmptyTokens(int columnIndex)
columnIndex - the column index, in which empty tokens are to be restored.
public void refreshPage(TabularData tabData,
ErrorsLog errors)
tabData - the parsed tabular dataerrors - the errors logpublic void rowContentChanged(DataRow row)
row - which content was changed
public void changeRowValue(DataRow row,
int index,
String value)
ImportProcess#changeRowValue(DataRow, int, String).
row - input rowindex - token indexvalue - new token valuepublic boolean isDataEmpty()
public boolean isErrorsPresent()
public String getEmptyTokenReplacement(int columnIndex)
columnIndex - the column index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||