|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.editor.widgets.AbstractUserInputWidget sk.uniba.euromath.editor.widgets.ExportClassChooser
public class ExportClassChooser
Allows the user to choose the export document class.
Field Summary | |
---|---|
protected sk.baka.xml.gene.CoordinatorInfo |
_outputClass
Result value. |
protected Composite |
composite
Here all controls will be placed. |
protected Label |
defaultExtension
Label that shows default output file extension. |
protected Label |
description
Label that shows description of selected output class. |
protected ValidityMessages |
lastMessages
Last error messages. |
protected Combo |
outputClassCombo
Combo box with output classes. |
Fields inherited from class sk.uniba.euromath.editor.widgets.AbstractUserInputWidget |
---|
listeners, msgListeners |
Constructor Summary | |
---|---|
ExportClassChooser(Composite parent)
Constructor |
Method Summary | |
---|---|
protected void |
fillData()
Fills _outputClass from the combo box, setting it to
null and setting appropriate error message when no output
class is selected. |
Composite |
getComposite()
Returns composite that is encapsulated in this object. |
ValidityMessages |
getMessages()
Checks if data contained in the widget are correct. |
sk.baka.xml.gene.CoordinatorInfo |
getOutputClass()
Returns selected output document class. |
sk.baka.xml.gene.CoordinatorInfo |
getState()
Returns the state of this widget. |
Class<?> |
getStateClass()
Returns the class of the state that the widget accepts. |
void |
setState(Object model)
Sets new state for the widget. |
Methods inherited from class sk.uniba.euromath.editor.widgets.AbstractUserInputWidget |
---|
addMessageListener, addModifyListener, allowModifyEvent, fireDataModified, removeMessageListener, removeModifyListener, suppressModifyEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Composite composite
protected final Combo outputClassCombo
protected final Label defaultExtension
protected final Label description
protected sk.baka.xml.gene.CoordinatorInfo _outputClass
protected ValidityMessages lastMessages
Constructor Detail |
---|
public ExportClassChooser(Composite parent)
parent
- the parent widget.Method Detail |
---|
public sk.baka.xml.gene.CoordinatorInfo getOutputClass()
protected void fillData()
_outputClass
from the combo box, setting it to
null
and setting appropriate error message when no output
class is selected.
public Composite getComposite()
IUserInputWidget
public ValidityMessages getMessages()
IUserInputWidget
null
if data is correct, or instance of
ValidityMessages
if there is error, warning or info
message.public sk.baka.xml.gene.CoordinatorInfo getState()
IUserInputWidget
public Class<?> getStateClass()
IUserInputWidget
null
.public void setState(Object model)
IUserInputWidget
model
- the model to set. You may use the construct
setModel(getModel())
to reflect changes made in the model.
Please note that nearly all widgets rejects null
value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |