|
Re: The example in the example of ibm Red book [message #215094 is a reply to message #215078] |
Wed, 26 April 2006 16:12 |
Eclipse User |
|
|
|
Originally posted by: eclipse.chris-lott.org
I tried the cleanup also, and suspect I did this in the slowest, most
difficult way possible. Here's what I tried so far; it does not yet run.
1. Create simple project
2. Import entire contents of SAL330RWorkflowModel into it.
3. Right click the project, pick PDE Tools, then Convert Projects to
Plug-in Projects
That gets me to a state where eclipse reports these problems:
Illegal attribute 'availableAsShortcut'. plugin.xml
The method openEditor(IEditorInput, String) in the type IWorkbenchPage is
not applicable for the arguments (IFile) WorkflowModelWizard.java
I confess that I punted on these and simply removed the attribute in
plugin.xml, and commented out the entire try/catch in the java file. This
was enough to get the plugin to contribute to the New -> Examples wizard,
but it doesn't work right (doesn't launch) on a foo.flow file.
Next I right-clicked the project again, PDE Tools, then picked "Migrate to
3.0". This adds the runtime compatability dependency. That is not
enough either to make it run!
Maybe I have to create a MANIFEST.MF file using the plugin.xml manifest
editor.
chris...
|
|
|
Re: The example in the example of ibm Red book [message #215125 is a reply to message #215094] |
Thu, 27 April 2006 01:31 |
comain Messages: 2 Registered: July 2009 |
Junior Member |
|
|
IDE.openEditor(page,modelFile,true);
I think the open editor can be replaced as above. But I have not yet tested.
"Chris Lott" <eclipse@chris-lott.org>
??????:ac53681be41d1a80a6b66a63036261a0$1@www.eclipse.org...
>I tried the cleanup also, and suspect I did this in the slowest, most
>difficult way possible. Here's what I tried so far; it does not yet run.
>
> 1. Create simple project
> 2. Import entire contents of SAL330RWorkflowModel into it.
> 3. Right click the project, pick PDE Tools, then Convert Projects to
> Plug-in Projects
>
> That gets me to a state where eclipse reports these problems:
>
> Illegal attribute 'availableAsShortcut'. plugin.xml
> The method openEditor(IEditorInput, String) in the type IWorkbenchPage is
> not applicable for the arguments (IFile) WorkflowModelWizard.java
> I confess that I punted on these and simply removed the attribute in
> plugin.xml, and commented out the entire try/catch in the java file. This
> was enough to get the plugin to contribute to the New -> Examples wizard,
> but it doesn't work right (doesn't launch) on a foo.flow file.
> Next I right-clicked the project again, PDE Tools, then picked "Migrate to
> 3.0". This adds the runtime compatability dependency. That is not
> enough either to make it run!
>
> Maybe I have to create a MANIFEST.MF file using the plugin.xml manifest
> editor.
> chris...
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03823 seconds