Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MDT (Model Development Tools) » Problems with saving order
Problems with saving order [message #597618] Thu, 07 May 2009 15:41
Sorin Fagateanu is currently offline Sorin Fagateanu
Messages: 46
Registered: July 2009
Member
Hello all,

I do not know if this is the best place for this question but...

I have a model file called M_A and inside it I have information to
generate a source code file called SC_B. The generation procces is
activated every time I save M_A.

I also have a reverse mechanism,meaning that every time I save the SC_B
file the M_A will be updated with the information.

More exactly when the M_A is generated :
-first it does a reverse of the SC_B to see if something has changed
-second it writes to the SC_B modifications happend

My problem is that if I have the model and also the source code modified
and I am saving ,the order counts a lot.

For my arhitecture to work i need the model files to be saved the last
ones.

Is there a method to modify the saving order ,when someone acts a "save
all" action in eclipse? I see that the EditorManager does has a saveAll
which takes the dirtyparts to check what resources need to be saved. Can
this be replaced by something of my own or are there some Saveing Order
information/classes/plugins that I should know?


Thank you in advance for your prompt answer!
Previous Topic:ChangeCommand problem...
Next Topic:Problems with saving order
Goto Forum:
  


Current Time: Tue Sep 23 00:19:00 GMT 2014

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

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