|
|
|
|
|
|
|
|
|
Re: Why i cannot see the icons from a metamodel instance at eclipse with EMF [message #631135 is a reply to message #631119] |
Wed, 06 October 2010 09:45 |
Jonas Helming Messages: 699 Registered: July 2009 |
Senior Member |
|
|
Hi,
by "exporting", i assume you mean building a feature and deploying it
into a fresh Eclipse instance. As Ed has asnwered before, the most
likely reason for that is is your build configuration. But if you have
checked that, the only remaining thing left is the Eclipse installation
where you deploy your software to. Is there a plugin missing, which is
available in your IDE Eclipse? Did you install sth. else? I would use a
fresh eclipse instance on both sides, for building the feature and for
tesing it to get sure.
cheers
jonas
lalakis wrote:
> I am using gems.which i assume that it uses gmf and emf.So what i wanted
> to say is that at my working project when i am testing it as a new Run
> configuration and a new Eclipse framework begins everything works fine
> at the palette and i can see the images both at canvas and at
> palette.When i am exporting the plugin i can only see images at the
> palette and not on canvas
> Jonas wrote on Tue, 05 October 2010 11:35
>> Hi,
>> do you mean the palette of the GMF editor? Do the icons show well in a
>> none GMF editor?
>> cheers
>> Jonas
>>
>> lalakis wrote:
>> > I have created an eclipse plugin for my metamodel throught the
>> emf+gmf = > gems eclipse framework.When i am testing the metamodel and
>> what i mean > is to create an instance of my model with eclipse
>> palette etc everything > works fine.The way that i am testing it is
>> throught the "Overview" tab > of the plugig.xml file (PDE) i clicked
>> on launch an eclipse application.
>> > > The problem is when i extract the plugin(i am sure that everything
>> is > included),i install it at a new eclipse framework(same version =
>> Helios > 3.6.0) i create a new metamodel instance but when i am
>> dragging into the > palette the items that i want from the left side
>> of the palette the > icons are disappeared into the canvas of the
>> palette and some strange > characters are appeared instead.
>
>
|
|
|
Re: Why i cannot see the icons from a metamodel instance at eclipse with EMF [message #631141 is a reply to message #631135] |
Wed, 06 October 2010 10:25 |
lalakis Messages: 48 Registered: October 2009 |
Member |
|
|
By exporting i mean to export the plugin somewhere then to make a feature and then an update site.After all at a new eclipse installation i install my new feature without errors but when i drawing something for my new model no icons.I will check it again i do not know what else to do.But the build property file is correct
Jonas wrote on Wed, 06 October 2010 05:45 | Hi,
by "exporting", i assume you mean building a feature and deploying it
into a fresh Eclipse instance. As Ed has asnwered before, the most
likely reason for that is is your build configuration. But if you have
checked that, the only remaining thing left is the Eclipse installation
where you deploy your software to. Is there a plugin missing, which is
available in your IDE Eclipse? Did you install sth. else? I would use a
fresh eclipse instance on both sides, for building the feature and for
tesing it to get sure.
cheers
jonas
lalakis wrote:
> I am using gems.which i assume that it uses gmf and emf.So what i wanted
> to say is that at my working project when i am testing it as a new Run
> configuration and a new Eclipse framework begins everything works fine
> at the palette and i can see the images both at canvas and at
> palette.When i am exporting the plugin i can only see images at the
> palette and not on canvas
> Jonas wrote on Tue, 05 October 2010 11:35
>> Hi,
>> do you mean the palette of the GMF editor? Do the icons show well in a
>> none GMF editor?
>> cheers
>> Jonas
>>
>> lalakis wrote:
>> > I have created an eclipse plugin for my metamodel throught the
>> emf+gmf = > gems eclipse framework.When i am testing the metamodel and
>> what i mean > is to create an instance of my model with eclipse
>> palette etc everything > works fine.The way that i am testing it is
>> throught the "Overview" tab > of the plugig.xml file (PDE) i clicked
>> on launch an eclipse application.
>> > > The problem is when i extract the plugin(i am sure that everything
>> is > included),i install it at a new eclipse framework(same version =
>> Helios > 3.6.0) i create a new metamodel instance but when i am
>> dragging into the > palette the items that i want from the left side
>> of the palette the > icons are disappeared into the canvas of the
>> palette and some strange > characters are appeared instead.
>
>
|
|
|
|
|
Re: Why i cannot see the icons from a metamodel instance at eclipse with EMF [message #631211 is a reply to message #631117] |
Wed, 06 October 2010 14:48 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Lalakis,
Perhaps you should ask some GEMS experts.
lalakis wrote:
> Yes i can verify that.I have exported the plugin at a jar file and
> then inside the jar file i can see the icons folder.The way that i am
> loading the images is through GEMS.In fact i changed the dsml.palette
> and the dsml.css file for every element in my model there is an entry
> like that:
> Task-image:icons/Task_s.gif;
> Under icons are all my images.And i can see that folder under the jar
> .I: can't see any logging exceptions
>
> Ed Merks wrote on Tue, 05 October 2010 10:40
>> Lalakis,
>>
>> That argues for a packaging issue, which you've discounted as a
>> potential cause of the problem.... You've really verified they are
>> in the binary jar at the right place? What mechanism are you using
>> the load the image? Are you seeing logged exceptions?
>>
>>
>> lalakis wrote:
>> > Yes but as i said when i run a new application from the plugin >
>> overview tab the eclipse framework works fine.It does not need any >
>> debugging.How can i debug the eclipse framework from the beginning of
>> > it's execution?
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04326 seconds