|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.wizard.Wizard
org.eclipse.amp.amf.gen.ide.PluginProjectWizard
org.eclipse.amp.amf.gen.ide.PluginTemplateProjectWizard
public class PluginTemplateProjectWizard
Creates a plugin project, copying manifest nad build properties from templates in the overriding wizard's plugin.
Field Summary |
---|
Fields inherited from class org.eclipse.jface.wizard.Wizard |
---|
DEFAULT_IMAGE |
Constructor Summary | |
---|---|
PluginTemplateProjectWizard()
|
Method Summary | |
---|---|
void |
copyFiles(org.eclipse.core.runtime.IPath srcFileLoc,
org.eclipse.core.runtime.IPath destFileLoc,
org.eclipse.amp.amf.gen.ide.PluginTemplateProjectWizard.StringPair[] pairs)
Copies a file from the source (Eclipse runtime) plugin into the destination (user workspace) project. |
void |
createFiles()
|
java.io.InputStream |
streamFromPlugin(java.lang.String pluginID,
java.lang.String path)
Finds and opens a stream for reading from the plugin path. |
Methods inherited from class org.eclipse.amp.amf.gen.ide.PluginProjectWizard |
---|
addBuilders, addClasspaths, addPages, getNatures, getPluginID, getProject, getProjectTypeName, getSourceDirName, init, performFinish |
Methods inherited from class org.eclipse.jface.wizard.Wizard |
---|
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.wizard.IWizard |
---|
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer |
Constructor Detail |
---|
public PluginTemplateProjectWizard()
Method Detail |
---|
public void createFiles() throws org.eclipse.core.runtime.CoreException, java.io.IOException
createFiles
in class PluginProjectWizard
org.eclipse.core.runtime.CoreException
java.io.IOException
public void copyFiles(org.eclipse.core.runtime.IPath srcFileLoc, org.eclipse.core.runtime.IPath destFileLoc, org.eclipse.amp.amf.gen.ide.PluginTemplateProjectWizard.StringPair[] pairs) throws org.eclipse.core.runtime.CoreException, java.io.IOException
srcFileLoc
- plugin project relative path for source filedestFileLoc
- user project relative path for destination filepairs
- an array of pairs specifying a template string replacements
org.eclipse.core.runtime.CoreException
java.io.IOException
public java.io.InputStream streamFromPlugin(java.lang.String pluginID, java.lang.String path)
pluginID
- path
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |