|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcn.plinguaplugin.wizardCommonComponents.AbstractTextListener
public abstract class AbstractTextListener
This class checks if the text in a text field matches the expected pattern and updates its specific WizardPage
instance wizard field
Constructor Summary | |
---|---|
AbstractTextListener(org.eclipse.jface.wizard.WizardPage paramPage,
org.eclipse.swt.widgets.Text textField)
Creates a new AbstractTextListener instance which contains the text field given as parameter |
Method Summary | |
---|---|
abstract java.lang.String |
getFieldName()
Gets the text field name |
protected org.eclipse.jface.wizard.WizardPage |
getParamPage()
|
void |
modifyText(org.eclipse.swt.events.ModifyEvent e)
Reads the text field, checks it and updates the instance page |
abstract void |
setField(java.lang.String field)
Sets the text field content |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractTextListener(org.eclipse.jface.wizard.WizardPage paramPage, org.eclipse.swt.widgets.Text textField)
AbstractTextListener
instance which contains the text field given as parameter
paramPage
- the page which the text field belongs totextField
- the text field to listen for changesMethod Detail |
---|
protected org.eclipse.jface.wizard.WizardPage getParamPage()
public void modifyText(org.eclipse.swt.events.ModifyEvent e)
modifyText
in interface org.eclipse.swt.events.ModifyListener
e
- the event which triggered the listenerpublic abstract java.lang.String getFieldName()
public abstract void setField(java.lang.String field)
field
- the text field content to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |