Add a static figure in the canvas [message #213954] |
Thu, 18 December 2008 11:25  |
Eclipse User |
|
|
|
Hello, I want to add a static figure in the TOP-LEFT side of the canvas.
How can I do it? I think I can do it modifying the canvas EditPart, but I
don't know where to add the new figure to the canvas.
Anybody can help me please? Thanks!!!
Marc.
|
|
|
|
|
|
Re: Add a static figure in the canvas [message #214009 is a reply to message #214001] |
Thu, 18 December 2008 18:51   |
Eclipse User |
|
|
|
Have a look at the Taipan example in CVS:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.gmf/exa mples/?root=Mode
ling_Project
- Rich
On 12/18/08 6:41 PM, in article
c35268a0ab2e868e6138966f5d89f117$1@www.eclipse.org, "Marc"
<mgil@prodevelop.es> wrote:
> Well Alex, now I know what you said. Some UML2 Diagrams have a Package
> figure in the Top-Left corner of the canvas. This is a View of a Package
> element (with an EditPart associated), declared in the gmfmap. I want to
> put programatically a static image, like an icon, without having an
> element associated to.
>
> I think canvas is a figure, a rectangle figure, that can house Views
> (Figures) and other kind of figures (circles, lines...). So I want to add
> a static figure (a simple image or icon) in this possition permanently.
> Perhaps when creating the figure canvas? I don't know where certainly...
>
> Any suggestions?
>
> Marc
>
>
> Marc wrote:
>
>> Alex Shatalin wrote:
>
>>> Hello Marc,
>
>>> Looks like the same task was already solved by UML2Tools project
>> implementing
>>> UML2 diagrams based on GMF
>> (http://www.eclipse.org/modeling/mdt/?project=uml2tools).
>
>>> -----------------
>>> Alex Shatalin
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.11202 seconds