|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.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. |
ICoordinator |
getCoordinator()
Returns current coordinator. |
String |
getFileName()
Output file name. |
String |
getName()
Returns name of this wizard. |
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 instanceMethod Detail |
---|
public void performFinish()
IMultiWizardProvider
performFinish
in interface IMultiWizardProvider
public void performCancel()
IMultiWizardProvider
performCancel
in interface IMultiWizardProvider
public ICoordinator getCoordinator()
getGraphBuilder()
(getTransformationChain()
respectively) has been called.public TransformGraph getTransformGraph()
public String getFileName()
public void dispose()
IMultiWizardProvider
MultiWizard
.
dispose
in interface IMultiWizardProvider
public void setWizard(MultiWizard wizard)
IMultiWizardProvider
setWizard
in interface IMultiWizardProvider
wizard
- the wizard that'll use this provider.public IWizard current()
IMultiWizardProvider
current
in interface IMultiWizardProvider
null
only if the
provider provides no wizards.public IWizard next() throws ProviderException
IMultiWizardProvider
hasNext()
returned true
- it may throw
ProviderException
.
next
in interface IMultiWizardProvider
MultiWizard
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 IMultiWizardProvider
public boolean hasNext()
IMultiWizardProvider
hasNext
in interface IMultiWizardProvider
true
if there is next wizard or false
if next()
will fail.public boolean hasPrevious()
IMultiWizardProvider
hasPrevious
in interface IMultiWizardProvider
true
if there is previous wizard or
false
if previous()
will fail.public String getName()
IMultiWizardProvider
getName
in interface IMultiWizardProvider
null
then the name is collected from child wizards.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |