Home » Eclipse Projects » GEF » Is it possible to export Plug-ins as stand-alone application
Is it possible to export Plug-ins as stand-alone application [message #182471] |
Wed, 25 May 2005 13:45  |
Eclipse User |
|
|
|
Hi, all,
I am develping a graphics editor as plug-in, but since running inside
workbench will confuse users of my application, so I expect it running as
standard application. Is it possible to export plug-ins, say Shapes, as
standard application with property and outline viewer as child windows?
Thanks and Regards,
Vince
|
|
| |
Re: Is it possible to export Plug-ins as stand-alone application [message #182717 is a reply to message #182481] |
Thu, 26 May 2005 12:23   |
Eclipse User |
|
|
|
That seems like what I am looking for. Thank you so much!
However, I got "org.eclipse.ui.part.editoractionbarcontributor cannot be
resolved" error message when I tried to run it.
I am using SDK3.1M7+GEF3.1M7.
Here is how what I did: I copied your file to plugin directory, launched
Eclipse, selected the shape.rcp in plugin view, right clicked it and
followed "Import". I added all libraries that is useful in my thought, but
still cannot reslove the problem. Someone has idea?
Thank you!
Vince
"Chris Aniszczyk" <none@us.ibm.com> wrote in message
news:d72jqi$p9s$1@news.eclipse.org...
> vince wrote:
>> Hi, all,
>>
>> I am develping a graphics editor as plug-in, but since running inside
>> workbench will confuse users of my application, so I expect it running as
>> standard application. Is it possible to export plug-ins, say Shapes, as
>> standard application with property and outline viewer as child windows?
>>
>> Thanks and Regards,
>> Vince
>>
>>
>
> I have an RCP-ified version of the shapes example here
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=91472
>
> You can look at that as a start if you want to use RCP and GEF.
|
|
|
Re: Is it possible to export Plug-ins as stand-alone application [message #182724 is a reply to message #182717] |
Thu, 26 May 2005 13:47   |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
vince wrote:
> That seems like what I am looking for. Thank you so much!
>
> However, I got "org.eclipse.ui.part.editoractionbarcontributor cannot be
> resolved" error message when I tried to run it.
>
> I am using SDK3.1M7+GEF3.1M7.
> Here is how what I did: I copied your file to plugin directory, launched
> Eclipse, selected the shape.rcp in plugin view, right clicked it and
> followed "Import". I added all libraries that is useful in my thought, but
> still cannot reslove the problem. Someone has idea?
>
> Thank you!
> Vince
>
> "Chris Aniszczyk" <none@us.ibm.com> wrote in message
> news:d72jqi$p9s$1@news.eclipse.org...
>
>>vince wrote:
>>
>>>Hi, all,
>>>
>>>I am develping a graphics editor as plug-in, but since running inside
>>>workbench will confuse users of my application, so I expect it running as
>>>standard application. Is it possible to export plug-ins, say Shapes, as
>>>standard application with property and outline viewer as child windows?
>>>
>>>Thanks and Regards,
>>>Vince
>>>
>>>
>>
>>I have an RCP-ified version of the shapes example here
>>https://bugs.eclipse.org/bugs/show_bug.cgi?id=91472
>>
>>You can look at that as a start if you want to use RCP and GEF.
>
>
>
If you import the plugin as a project and launch it via the plugin.xml
you should be all good.
If you can post any verbose logs, let me know.
|
|
|
Re: Is it possible to export Plug-ins as stand-alone application [message #182751 is a reply to message #182724] |
Thu, 26 May 2005 22:13   |
Eclipse User |
|
|
|
"Chris Aniszczyk" <none@us.ibm.com> wrote in message
news:d7529g$gb6$1@news.eclipse.org...
> vince wrote:
>> That seems like what I am looking for. Thank you so much!
>>
>> However, I got "org.eclipse.ui.part.editoractionbarcontributor cannot be
>> resolved" error message when I tried to run it.
>>
>> I am using SDK3.1M7+GEF3.1M7.
>> Here is how what I did: I copied your file to plugin directory, launched
>> Eclipse, selected the shape.rcp in plugin view, right clicked it and
>> followed "Import". I added all libraries that is useful in my thought,
>> but
>> still cannot reslove the problem. Someone has idea?
>>
>> Thank you!
>> Vince
>>
>> "Chris Aniszczyk" <none@us.ibm.com> wrote in message
>> news:d72jqi$p9s$1@news.eclipse.org...
>>
>>>vince wrote:
>>>
>>>>Hi, all,
>>>>
>>>>I am develping a graphics editor as plug-in, but since running inside
>>>>workbench will confuse users of my application, so I expect it running
>>>>as
>>>>standard application. Is it possible to export plug-ins, say Shapes, as
>>>>standard application with property and outline viewer as child windows?
>>>>
>>>>Thanks and Regards,
>>>>Vince
>>>>
>>>>
>>>
>>>I have an RCP-ified version of the shapes example here
>>>https://bugs.eclipse.org/bugs/show_bug.cgi?id=91472
>>>
>>>You can look at that as a start if you want to use RCP and GEF.
>>
>>
>>
>
> If you import the plugin as a project and launch it via the plugin.xml
> you should be all good.
>
> If you can post any verbose logs, let me know.
Hi, I still cannot run it :(
When you were saying import the plugin as a project, you mean File-->
Import-->External plugin and fragments, right?
I did that, but found plugin.xml was not in the project automatically, so I
added it to the project by hand.
What do you mean to launch it via the plugin.xml? I right click the file and
choose "Run As"-->"Run...", is it right?
However, error message occured as:
!SESSION 2005-05-26
22:10:22.450 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product
org.eclipse.gef.examples.shapes.rcp.product -pdelaunch
Command-line arguments: -product
org.eclipse.gef.examples.shapes.rcp.product -data
U:\eclipse\runtime-workspace -dev
file:U:/eclipse/workspace/.metadata/.plugins/org.eclipse.pde .core/New_configuration/dev.properties -
pdelaunch -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.osgi 2005-05-26 22:10:25.950
!MESSAGE Error installing bundle:
reference:file:plugins/org.eclipse.core.commands_3.1.0.jar/
!STACK 0
org.osgi.framework.BundleException: Bundle "org.eclipse.core.commands"
version "3.1.0" has already been installed from:
update@plugins/org.eclipse.core.commands_3.1.0.jar
at
org.eclipse.osgi.framework.internal.core.Framework.createAnd VerifyBundle(Framework.java:558)
at
org.eclipse.osgi.framework.internal.core.Framework.installWo rkerPrivileged(Framework.java:823)
at
org.eclipse.osgi.framework.internal.core.Framework$2.run(Fra mework.java:738)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.Framework.installWo rker(Framework.java:789)
at
org.eclipse.osgi.framework.internal.core.Framework.installBu ndle(Framework.java:733)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.i nstallBundle(BundleContextImpl.java:221)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.installBundl es(EclipseStarter.java:946)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBun dles(EclipseStarter.java:538)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:285)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:330 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
More error message is in the attachment. Do you have any more suggestions?
Regards,
Vince
|
|
| | | | | | | | | | |
Goto Forum:
Current Time: Thu Jul 03 09:03:50 EDT 2025
Powered by FUDForum. Page generated in 0.06451 seconds
|