|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectWizardPage
net.refractions.udig.catalog.ui.AbstractUDIGImportPage
public abstract class AbstractUDIGImportPage
Abstract implementation of UDIGImportPage.
Constructor Summary | |
---|---|
AbstractUDIGImportPage(java.lang.String pageName)
|
Method Summary | |
---|---|
IWizardPage |
getNextPage()
|
boolean |
leavingPage()
Called by framework as the page is about to be left. |
protected void |
popErrorMessage()
Removes the current error message and replaces it with the previously visible error message. |
protected void |
popMessage()
Removes the current message and replaces it with the previously visible message. |
void |
setErrorMessage(java.lang.String newMessage)
Sets the error Message on the wizard page. |
void |
setMessage(java.lang.String newMessage,
int newType)
Sets a Message on the wizard page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.refractions.udig.catalog.ui.UDIGConnectionPage |
---|
getParams |
Constructor Detail |
---|
public AbstractUDIGImportPage(java.lang.String pageName)
Method Detail |
---|
public void setMessage(java.lang.String newMessage, int newType)
public void setErrorMessage(java.lang.String newMessage)
setErrorMessage
in interface UDIGConnectionPage
newMessage
- the message, or null
to clear the error messageprotected void popErrorMessage()
protected void popMessage()
public final IWizardPage getNextPage()
public boolean leavingPage()
There are two main use cases for this method. The first is to save settings for the next time the wizard is visited. The other is to perform some checks or do some loading that is too expensive to do every time isPageComplete() is called. For example a database wizard page might try to connect to the database in this method rather than isPageComplete() because it is such an expensive method to call.
If an expensive method is called make sure to run it in the container:
getContainer().run(true, cancelable, runnable);
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |