Wizards Plugin
New Item Wizards
The wizards responsible for making new things all live in here.
- New Project
- New Class
- New Interface
- New Package
All of the Wizard classes extend AbstractASProjectRelativeWizard which provides some basic functionality common across all the wizards.
If you are creating a new wizard then its worth extending this class because you get handy things like
- current project and selected resource as protected members (called project and resource)
- doCancel(IProgressMonitor monitor) and doFinish(IProgressMonitor monitor) template methods. These are each called from within an IRunnableWithProgress so you dont have to bother with all that setup code, just implement your cancel and finish logic normally.
- runOperation for running any other IRunnableWithProgress classes you might need for long running operations or modifying the workspace
- showErrorBox(String message) helper to show an error dialog for when things go wrong
FlashDevelop Import Wizards
There are 2 wizards for import data from FlashDevelop
Settings Import Wizard
At the moment this wizard just imports the global classpaths. A new project is created called ‘FD Global Classpath’ with a linked folder for each classpath entry.
We should take a look and see if there are any other settings that are worth importing.
Project Import Wizard
This wizard creates a new project, links in the classpath folders and creates a build item. If the ‘FD Global Classpath’ project exists in the workspace it is added as a project classpath entry.
There are a few build configuration items which arent yet used because we havent got implementations for them, they are :
<output> <movie background="#FFFFFF" /> </output> <build> <option traceMode="FlashOut" /> <option libraryPrefix="" /> <option excludeFile="" /> <option groupClasses="False" /> <option frame="1" /> </build>
