|
|
|
Re: [EUGENIA]Create node for abstract class and how change node figure and diagram figure ??? [message #485439 is a reply to message #485429] |
Fri, 11 September 2009 17:50 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Marco,
marco wrote:
> hello dimitris
>
> thanks for the advice.
>
> following what you told me I could put a new image on the nodes in the
> palette.
Glad this helped!
>
>
> I have this problem. When I create a new figure that has a compartment.
>
> if I create a new position within the compartment is not seen because it
> is covered from the figure that contains it.
> I used the Java class DiamondFigure ... How do I change it so that it
> becomes transparent SIA is therefore possible to see the figures to
> create in it?
>
To make the diamond transparent you can remove/comment out the following
line from DiamondFigure
// Fill the shape
graphics.fillPolygon(pointList);
>
> I also have a problem with the class the following link:
>
> @gmf.link(source="from",target="to")
> abstract class Link extends PropertyHolderElement, TypedElement {
> attr LinkNavigability navigability;
> ref ConnectableElement[1] from;
> ref ConnectableElement[1] to;
> ref Component fromContext;
> ref Component toContext;
> }
>
>
> I wish that I automatically are assigned the values of the 4 elements
> from, to, fromContext, toContext.
>
> for example if I create a component A with a connectable element in G
> and another element and component C with a connectable element within c.
>
> If I create a link between A and C I want to have links in the
> properties of the following values:
> from = b
> to = c
> fromContext = A
> toContext = B
>
> I adds a another source and Defining the destination of the link?
> Could you tell me if there's a way what is?
>
There isn't anything built-in that supports this. However, this might be
possible by modifying the generated source code. I'd suggest you post a
question on this to the eclipse.modeling.gmf newsgroup.
>
>
> Is there some manual Eugenia?
> I'm doing a thesis and I realize this editor but I'm finding very little
> difficulty because the material available.
All the available material is available in
http://www.eclipse.org/gmt/epsilon/doc/eugenia/ (see the resources links
at the bottom of the page).
As stated in the description of the tool, EuGENia is a front-end that
simplifies the development of GMF editors. As such, its documentation
only covers its own features and not all the features of GMF/GEF (e.g.
drawing transparent figures is a GEF issue).
>
> thank you very much
>
> marco
Cheers,
Dimitris
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: [EUGENIA]Create node for abstract class and how change node figure and diagram figure ??? [message #580627 is a reply to message #580611] |
Fri, 11 September 2009 17:50 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Marco,
marco wrote:
> hello dimitris
>
> thanks for the advice.
>
> following what you told me I could put a new image on the nodes in the
> palette.
Glad this helped!
>
>
> I have this problem. When I create a new figure that has a compartment.
>
> if I create a new position within the compartment is not seen because it
> is covered from the figure that contains it.
> I used the Java class DiamondFigure ... How do I change it so that it
> becomes transparent SIA is therefore possible to see the figures to
> create in it?
>
To make the diamond transparent you can remove/comment out the following
line from DiamondFigure
// Fill the shape
graphics.fillPolygon(pointList);
>
> I also have a problem with the class the following link:
>
> @gmf.link(source="from",target="to")
> abstract class Link extends PropertyHolderElement, TypedElement {
> attr LinkNavigability navigability;
> ref ConnectableElement[1] from;
> ref ConnectableElement[1] to;
> ref Component fromContext;
> ref Component toContext;
> }
>
>
> I wish that I automatically are assigned the values of the 4 elements
> from, to, fromContext, toContext.
>
> for example if I create a component A with a connectable element in G
> and another element and component C with a connectable element within c.
>
> If I create a link between A and C I want to have links in the
> properties of the following values:
> from = b
> to = c
> fromContext = A
> toContext = B
>
> I adds a another source and Defining the destination of the link?
> Could you tell me if there's a way what is?
>
There isn't anything built-in that supports this. However, this might be
possible by modifying the generated source code. I'd suggest you post a
question on this to the eclipse.modeling.gmf newsgroup.
>
>
> Is there some manual Eugenia?
> I'm doing a thesis and I realize this editor but I'm finding very little
> difficulty because the material available.
All the available material is available in
http://www.eclipse.org/gmt/epsilon/doc/eugenia/ (see the resources links
at the bottom of the page).
As stated in the description of the tool, EuGENia is a front-end that
simplifies the development of GMF editors. As such, its documentation
only covers its own features and not all the features of GMF/GEF (e.g.
drawing transparent figures is a GEF issue).
>
> thank you very much
>
> marco
Cheers,
Dimitris
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04945 seconds