|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.editor.wizards.document.ExportWizardProvider
public final class ExportWizardProvider
The exportation wizard. Provides following pages:
The wizard does not execute the export itself; it merely serves for data collection purpose.
| Field Summary | |
|---|---|
protected XMLAccess |
xmlAccess
Document instance. |
| Constructor Summary | |
|---|---|
ExportWizardProvider(XMLAccess xmlAccess)
Constructor. |
|
| Method Summary | |
|---|---|
IWizard |
current()
Fetches the current wizard. |
void |
dispose()
Provider should dispose any objects it collected. |
sk.baka.xml.gene.ICoordinator |
getCoordinator()
Returns current coordinator. |
String |
getFileName()
Output file name. |
String |
getName()
Returns name of this wizard. |
sk.baka.xml.gene.exportgraph.TransformGraph |
getTransformGraph()
The export graph descriptor. |
boolean |
hasNext()
Checks if there is next wizard. |
boolean |
hasPrevious()
Checks if there is previous wizard. |
IWizard |
next()
Fetches the next wizard. |
void |
performCancel()
Called when all opened wizards (from first wizard to current wizard) have already been cancelled. |
void |
performFinish()
Called when all wizards (from first wizard to current wizard) have already been finished. |
IWizard |
previous()
Fetches the previous wizard. |
void |
setWizard(MultiWizard wizard)
Sets the multi-wizard object instance, that'll navigate user through other wizards using this provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final XMLAccess xmlAccess
| Constructor Detail |
|---|
public ExportWizardProvider(XMLAccess xmlAccess)
xmlAccess - the document instance| Method Detail |
|---|
public void performFinish()
IMultiWizardProvider
performFinish in interface IMultiWizardProviderpublic void performCancel()
IMultiWizardProvider
performCancel in interface IMultiWizardProviderpublic sk.baka.xml.gene.ICoordinator getCoordinator()
getGraphBuilder() (getTransformationChain()
respectively) has been called.public sk.baka.xml.gene.exportgraph.TransformGraph getTransformGraph()
public String getFileName()
public void dispose()
IMultiWizardProviderMultiWizard.
dispose in interface IMultiWizardProviderpublic void setWizard(MultiWizard wizard)
IMultiWizardProvider
setWizard in interface IMultiWizardProviderwizard - the wizard that'll use this provider.public IWizard current()
IMultiWizardProvider
current in interface IMultiWizardProvidernull only if the
provider provides no wizards.
public IWizard next()
throws ProviderException
IMultiWizardProviderhasNext() returned true - it may throw
ProviderException.
next in interface IMultiWizardProviderMultiWizard initializes it for you. Never
null.
ProviderException - if next wizard instance cannot be constructed
thanks to some unexpected error. In such case, wizard stays at current
page, exception is logged and an error dialog is shown.public IWizard previous()
IMultiWizardProvider
previous in interface IMultiWizardProviderpublic boolean hasNext()
IMultiWizardProvider
hasNext in interface IMultiWizardProvidertrue if there is next wizard or false
if next() will fail.public boolean hasPrevious()
IMultiWizardProvider
hasPrevious in interface IMultiWizardProvidertrue if there is previous wizard or
false if previous() will fail.public String getName()
IMultiWizardProvider
getName in interface IMultiWizardProvidernull then the name is collected from child wizards.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||