Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 



org.eclipse.wst.server.ui.wizard
Interface IWizardHandle


public interface IWizardHandle

A wizard handle.

Since:
1.0

Method Summary
 void run (boolean fork, boolean cancelable, IRunnableWithProgress runnable)
          Execute a runnable within the context of the wizard.
 void setDescription (java.lang.String desc)
          The page's description.
 void setImageDescriptor (ImageDescriptor image)
          The page's image descriptor.
 void setMessage (java.lang.String newMessage, int newType)
          Set an error or warning message.
 void setTitle (java.lang.String title)
          Sets the title of this wizard page.
 void update ()
          Updates the wizard error messages and buttons.
 

Method Detail

update

void update()
Updates the wizard error messages and buttons.


setTitle

void setTitle(java.lang.String title)
Sets the title of this wizard page.

Parameters:
title - the title of the wizard page

setDescription

void setDescription(java.lang.String desc)
The page's description.

Parameters:
desc - the page's description

setImageDescriptor

void setImageDescriptor(ImageDescriptor image)
The page's image descriptor.

Parameters:
image - the page's image descriptor

setMessage

void setMessage(java.lang.String newMessage,
                int newType)
Set an error or warning message.

Parameters:
newMessage - the new message
newType - the new type, from IStatus

run

void run(boolean fork,
         boolean cancelable,
         IRunnableWithProgress runnable)
         throws java.lang.InterruptedException,
                java.lang.reflect.InvocationTargetException
Execute a runnable within the context of the wizard. This will typically disable the wizard while the runnable is running, and provide a progress monitor for the user.

Parameters:
fork - true if a separate thread should be used
cancelable - true if it should be cancelable
runnable - the runnable
Throws:
java.lang.InterruptedException - thrown if it is interrupted
java.lang.reflect.InvocationTargetException - thrown if there is an error



 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire