|Problems with saving order [message #597618]
||Thu, 07 May 2009 15:41
| Sorin Fagateanu
Registered: July 2009
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
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!
Powered by FUDForum
. Page generated in 0.05181 seconds