Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » postLoad function for gmf
postLoad function for gmf [message #481761] Mon, 24 August 2009 08:46 Go to next message
Oelerink is currently offline OelerinkFriend
Messages: 129
Registered: July 2009
Senior Member
Hello,

after the loading from my diagram, i have to change some editpart in its
appearance. Actually i do this in an action, but i want it
automatically. Exist in gmf a function like postLoad() in
BasicResourceHandler from emf?

Greetings
Jörg
Re: postLoad function for gmf [message #481872 is a reply to message #481761] Mon, 24 August 2009 15:35 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Jörg,

I think the proper place for post-loading processing is generated ???DocumentProvider.createDocument()
method

-----------------
Alex Shatalin
Re: postLoad function for gmf [message #482623 is a reply to message #481872] Thu, 27 August 2009 10:57 Go to previous messageGo to next message
Oelerink is currently offline OelerinkFriend
Messages: 129
Registered: July 2009
Senior Member
Hello Alex,

thanks for your answer, but there is only a diagram object, i need a
list with all editparts. Do you know a way to get this list, after every
editpart is created?

Greetings

Alex Shatalin schrieb:
> Hello Jörg,
>
> I think the proper place for post-loading processing is generated
> ???DocumentProvider.createDocument() method
>
> -----------------
> Alex Shatalin
>
>
Re: postLoad function for gmf [message #482861 is a reply to message #482623] Fri, 28 August 2009 10:50 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Jörg,

I nthis case I think the best solution is to modify EditPart initialization
methods (constructor).

-----------------
Alex Shatalin
Previous Topic:Link Mapping to shortcuts
Next Topic:Disable note attachment mechanism
Goto Forum:
  


Current Time: Thu Apr 25 09:57:24 GMT 2024

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

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

Back to the top