Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [ZEST] Plugin View Example
[ZEST] Plugin View Example [message #246027] Fri, 31 October 2008 14:33 Go to next message
Peter  is currently offline Peter
Messages: 85
Registered: July 2009
Member
Hi,
i want to make a graph Visualization from a UML Model. The Part to get
the Information from UML is already done. But i dont know to put this
together for a Plugin with a View. The Incubator Visualization is too
complicated for me. Has anyone a simpler Example for me?
Thank you and sorry for my english!
Peter
Re: [ZEST] Plugin View Example [message #246125 is a reply to message #246027] Thu, 06 November 2008 17:12 Go to previous messageGo to next message
Eclipse User
Originally posted by: irbull.cs.uvic.ca

Peter,

Understanding Eclipse plug-ins can be a bit tricky. Have you stepped
through a simple plug-in Example. If you create a Plug-in project, and
select a template (a plug-in with a view), this should help get you
started. Of course, this is not a graphical plug-in, but the PDE viz
was based on this. Once you understand this, you can see how Zest fits
into the picture. (See the Zest snippets for other Zest examples).

cheers,
ian

Peter wrote:
> Hi,
> i want to make a graph Visualization from a UML Model. The Part to get
> the Information from UML is already done. But i dont know to put this
> together for a Plugin with a View. The Incubator Visualization is too
> complicated for me. Has anyone a simpler Example for me?
> Thank you and sorry for my english!
> Peter
Re: [ZEST] Plugin View Example [message #663580 is a reply to message #246125] Tue, 05 April 2011 17:10 Go to previous messageGo to next message
Eclipse User is currently offline Eclipse User
Messages: 34
Registered: July 2010
Member
hello ian,

I want to test the example of UML with zest and it does'nt work I don't know what's the problem !
I copied the code from this site : http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.gef/te st/org.eclipse.zest.tests/src/org/eclipse/zest/tests/uml/?ro ot=Tools_Project

and i have this error when I run the program :

Quote:
Exception in thread "main" java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:4064)
at org.eclipse.swt.SWT.error(SWT.java:3998)
at org.eclipse.swt.SWT.error(SWT.java:3969)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:1 28)
at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoade r.java:22)
at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:331)
at org.eclipse.swt.graphics.Image.<init>(Image.java:503)
at testuml.UMLExample.main(UMLExample.java:96)



thank you in advance for helping me to understand the problem
Re: [ZEST] Plugin View Example [message #663915 is a reply to message #663580] Wed, 06 April 2011 19:41 Go to previous messageGo to next message
Fabian Steeg is currently offline Fabian Steeg
Messages: 72
Registered: July 2009
Member
Sounds like it's looking for icons that are not present in your setup. You should check out the entire project, not just the source files (see http://wiki.eclipse.org/CVS_Howto).
Re: [ZEST] Plugin View Example [message #663928 is a reply to message #663915] Wed, 06 April 2011 20:25 Go to previous message
Eclipse User is currently offline Eclipse User
Messages: 34
Registered: July 2010
Member
thank you for your answer
I realised that the problem lay in the icons but I've downloaded the 3 images and I've put them at the root of my project . But the problem is that I forgot the "/" when writing the path of my icon Very Happy

again thank you so much
Previous Topic:Property Sheet
Next Topic:Create a window setting
Goto Forum:
  


Current Time: Wed Sep 24 04:37:29 GMT 2014

Powered by FUDForum. Page generated in 0.01628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software