Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Modifying a Figure Descriptor
Modifying a Figure Descriptor [message #580669] Sat, 12 September 2009 11:35 Go to next message
Priyan  is currently offline Priyan Friend
Messages: 6
Registered: September 2009
Junior Member
Hello,
I'm new to this forum and I need some help in modifying a figure descriptor.

The figure descriptor has a rounded rectangle figure and a child access. I want to delete both these and create a label.

I tried the following in the EOL file but its giving an error.

-- Find the attribute figure
var slotFigure = GmfGraph!FigureDescriptor.all.
selectOne(r|r.name = 'SlotFigure');

delete slotFigure.roundedrectangle;

Could someone please help me to sort this out? Is there any documentation around which can guide me?

highly appreciate your help.

thanks in advance,
Priyan
Re: Modifying a Figure Descriptor [message #580714 is a reply to message #580669] Sat, 12 September 2009 15:40 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Priyan,

Priyan wrote:
> Hello,
> I'm new to this forum and I need some help in modifying a figure
> descriptor.
>
> The figure descriptor has a rounded rectangle figure and a child access.
> I want to delete both these and create a label.
>
> I tried the following in the EOL file but its giving an error.
>
> -- Find the attribute figure
> var slotFigure = GmfGraph!FigureDescriptor.all.
> selectOne(r|r.name = 'SlotFigure');
>
> delete slotFigure.roundedrectangle;

This is expected as class FigureDescriptor doesn't have a feature called
"roundedrectangle". The feature you need to delete is called actualFigure.

Alternatively, you could just set the border color of the rectangle to
white using the border.color annotation detail - which should give the
same visual result.

>
> Could someone please help me to sort this out? Is there any
> documentation around which can guide me?

Exeed (also part of Epsilon) can help you with inspecting the models you
need to modify (see
http://epsilonblog.wordpress.com/2008/07/17/inspecting-emf-m odels-with-exeed/
for details). The EPackage Registry view
( http://epsilonblog.wordpress.com/2009/02/13/the-emf-epackage -registry-view/)
might also prove useful.

>
> highly appreciate your help.
>
> thanks in advance,
> Priyan

Cheers,
Dimitris
Previous Topic:[EUGENIA]Create node for abstract class and how change node figure and diagram figure ???
Next Topic:Modifying a Figure Descriptor
Goto Forum:
  


Current Time: Thu Apr 25 22:40:42 GMT 2024

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

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

Back to the top