Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » RSA views wrongly
RSA views wrongly [message #220503] Wed, 04 March 2009 09:37 Go to next message
Marcel Bootsma is currently offline Marcel BootsmaFriend
Messages: 11
Registered: July 2009
Junior Member
Hello,

I'am building an editor for Message Interfaces. The model I use is
EMF/UML2.

I have a problem with RSA (Rational Software Architect), and wondered if
anybody had something simular or has an idea what I could do to solve this.

My editor works perfectly in Eclipse (V 3.4.1), It shows the interface as
I defined:

http://img16.imageshack.us/img16/9611/sampletypesabcresultecl.th.png

When I run the same editor in RSA (V 7.5.0), The figure of my Interface is
replaced with an UML Class view:

http://img135.imageshack.us/img135/2553/sampletypesabcresultrsa.th.png

Propably some internal plugin 'extends' my own UML model view and replaces
the view. I already tried using another file extendsion and Model ID but
that doesn't work.

Any ideas? Your help would realy be appreciated!

Thanks

Marcel
Re: RSA views wrongly [message #220989 is a reply to message #220503] Tue, 10 March 2009 14:43 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Marcel,

Try raising priorities of View/EditPart providers registered in a plugin.xml
generated by GMF for your diagram - this is a drawback of providers structure
- anybody can easily break your diagram by itroducing their own provider..
In near future we are going to generate provider-based implementation only
in situations then it is necessary.

You can file a bugzilla request to track any future improvements in this
area.

-----------------
Alex Shatalin
Re: RSA views wrongly [message #221155 is a reply to message #220989] Wed, 11 March 2009 06:59 Go to previous messageGo to next message
Marcel Bootsma is currently offline Marcel BootsmaFriend
Messages: 11
Registered: July 2009
Junior Member
Thank you Alex, this works great!

I use the priorities myself to introduce custom code as I don't like
messing with generated code. So please don't disable the extention points
totally!
Re: RSA views wrongly [message #221163 is a reply to message #221155] Wed, 11 March 2009 07:08 Go to previous messageGo to next message
Marcel Bootsma is currently offline Marcel BootsmaFriend
Messages: 11
Registered: July 2009
Junior Member
One more question:

Do you know what RSA functionality uses these extention points?
If I use a higher priority some RSA functionality is not going to work
correctly in parralel to my editor after this. Any idea what?
Re: RSA views wrongly [message #221178 is a reply to message #221163] Wed, 11 March 2009 09:50 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Marcel,

> Do you know what RSA functionality uses these extention points?
I suppose they are.

> If I use a higher priority some RSA functionality is not going to work
> correctly in parralel to my editor after this. Any idea what?
I was afraid of this.. :-)
Anyway, I have another idea – try changing .gmfgen model and regenerating
your diagram in order to make following property values different from their
default values:

GenEditorGenerator. Model ID
GenDiagram. Editing Domain ID


If RSA diagrams was generated using GMF then there can be a clashes preventing
these diagrams from working properly (see http://wiki.eclipse.org/GMF_GenModel_Hints
document for the details, search for “unique” word).

-----------------
Alex Shatalin
Re: RSA views wrongly [message #221220 is a reply to message #221178] Wed, 11 March 2009 13:45 Go to previous message
Marcel Bootsma is currently offline Marcel BootsmaFriend
Messages: 11
Registered: July 2009
Junior Member
Hello Alex,

I tried changing the ID's already but it does not work.
But changing the prio is currently enough

I will try an find out which plugin in using the viewProviders extension
to see if it is important for us.

Thank you
Previous Topic:refer to the diagram element in a constaraint
Next Topic:Changes via PropertySheet and undo/redo
Goto Forum:
  


Current Time: Thu Apr 18 07:28:03 GMT 2024

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

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

Back to the top