Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[Eugenia] Palette Icons and Iterative Development Process
https://www.eclipse.org/forums/index.php/mv/msg/173122/550941/#msg_550941
I'm developing an editor with Eugenia iteratively, meaning that I
have to regenerate all the stuff too many times.
The procedure I have found to change the default icons in the palette
is to rewrite the gif files that are generated in the icons\full\obj16
directory belonging to the metamodel.edit plugin. However, as I have to
regenerate many times, this rewriting is error-prone, cause many times I
forget to rewrite the icons.
I was wondering if there is a more automatic way of changing this
icons. I have tried the tool.small.path and tool.small.bundle
properties, but I have no satisfactory results, because icons disappear.
I don't know if the problems are due to the location of icons. I have
created a directory named icons under the metamodel proyect, as follows:
Toñi]]>Toñi Reina2010-08-04T16:14:11-00:00Re: [Eugenia] Palette Icons and Iterative Development Process
https://www.eclipse.org/forums/index.php/mv/msg/173122/551101/#msg_551101
As you suggested, the tool.small.path and tool.small.bundle annotations can be used to specify icons for the palette.
tool.small.bundle should be set to the name of the bundle (project) that contains the icons.
tool.small.path should be set to the path of the icon relative to the root of the bundle.
So, if we have a bundle called "org.example.icons" and we have an icon directory at the top-level of the bundle, the following annotations can be used:
Cheers,
Louis.]]>Louis Rose2010-08-05T09:00:54-00:00Re: [Eugenia] Palette Icons and Iterative Development Process
https://www.eclipse.org/forums/index.php/mv/msg/173122/591167/#msg_591167
As you suggested, the tool.small.path and tool.small.bundle annotations can be used to specify icons for the palette.
tool.small.bundle should be set to the name of the bundle (project) that contains the icons.
tool.small.path should be set to the path of the icon relative to the root of the bundle.
So, if we have a bundle called "org.example.icons" and we have an icon directory at the top-level of the bundle, the following annotations can be used:
Cheers,
Louis.]]>Louis Rose2010-08-05T09:00:55-00:00Re: [Eugenia] Palette Icons and Iterative Development Process
https://www.eclipse.org/forums/index.php/mv/msg/173122/591182/#msg_591182
thanks to your explanations, I have realized that I haven't
understood the tool.small.bundle property, as I wasn't writing the name
of the project.
Best regards,
Toñi
El 05/08/2010 11:00, Louis Rose escribió:
> Hi Toni,
>
> As you suggested, the tool.small.path and tool.small.bundle annotations
> can be used to specify icons for the palette.
>
> tool.small.bundle should be set to the name of the bundle (project) that
> contains the icons.
>
> tool.small.path should be set to the path of the icon relative to the
> root of the bundle.
>
> So, if we have a bundle called "org.example.icons" and we have an icon
> directory at the top-level of the bundle, the following annotations can
> be used:
>
> @gmf.node(label=..., tool.small.bundle="org.example.icons",
> tool.small.path="icon/OurIcon.png")
>
> Cheers,
> Louis.]]>Toñi Reina2010-08-05T10:36:11-00:00Re: [Eugenia] Palette Icons and Iterative Development Process
https://www.eclipse.org/forums/index.php/mv/msg/173122/551128/#msg_551128
thanks to your explanations, I have realized that I haven't
understood the tool.small.bundle property, as I wasn't writing the name
of the project.
Best regards,
Toñi
El 05/08/2010 11:00, Louis Rose escribió:
> Hi Toni,
>
> As you suggested, the tool.small.path and tool.small.bundle annotations
> can be used to specify icons for the palette.
>
> tool.small.bundle should be set to the name of the bundle (project) that
> contains the icons.
>
> tool.small.path should be set to the path of the icon relative to the
> root of the bundle.
>
> So, if we have a bundle called "org.example.icons" and we have an icon
> directory at the top-level of the bundle, the following annotations can
> be used:
>
> @gmf.node(label=..., tool.small.bundle="org.example.icons",
> tool.small.path="icon/OurIcon.png")
>
> Cheers,
> Louis.]]>Toñi Reina2010-08-05T10:36:11-00:00