Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Auto save Diagram
Auto save Diagram [message #1059492] Sun, 19 May 2013 19:15 Go to next message
bradai hazem is currently offline bradai hazemFriend
Messages: 20
Registered: March 2013
Junior Member
Hi,
I want to auto save my diagram when i exerce any modification(create,modify..)
How can i do this ?
Re: Auto save Diagram [message #1059512 is a reply to message #1059492] Mon, 20 May 2013 08:07 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
You can add a listener to the command stack.

On 19/05/2013 9:15 PM, bradai hazem wrote:
> Hi,
> I want to auto save my diagram when i exerce any
> modification(create,modify..)
> How can i do this ?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Auto save Diagram [message #1059582 is a reply to message #1059512] Mon, 20 May 2013 15:16 Go to previous messageGo to next message
bradai hazem is currently offline bradai hazemFriend
Messages: 20
Registered: March 2013
Junior Member
Thanks bro for your reply.
Can u help me more ? what should i write exactly and in which class ?
Re: Auto save Diagram [message #1059587 is a reply to message #1059582] Mon, 20 May 2013 15:36 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
We're not here to do your work for you. For that kind of work someone
pays me. Here you can expect suggestions and if you don't demonstrate
some self initiative in follow up on them, it's unlikely you'll get much
more help.


On 20/05/2013 5:16 PM, bradai hazem wrote:
> Thanks bro for your reply.
> Can u help me more ? what should i write exactly and in which class ?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Auto save Diagram [message #1059665 is a reply to message #1059587] Tue, 21 May 2013 07:03 Go to previous messageGo to next message
bradai hazem is currently offline bradai hazemFriend
Messages: 20
Registered: March 2013
Junior Member
if u want help me or let other people make it
Re: Auto save Diagram [message #1059687 is a reply to message #1059665] Tue, 21 May 2013 08:24 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
I do nothing to prevent other people from helping you but you should
keep in mind that things such as the lack of capital letters in your
post and also the use of "u" instead of "you" make you look lazy,
stupid, or careless, anyone of which will tend to annoy people. Of
course I and most of the helpful people here on the forums understand
that English is not a native language for everyone so of course we're
all tolerant of errors due to such things, but I know from your other
posts that you know the difference between u and you. So I'd suggest
you read carefully the following information and use that to guide how
best to ask questions that will tend to invite helpful answers:

www.catb.org/esr/faqs/smart-questions.html#intro



On 21/05/2013 9:03 AM, bradai hazem wrote:
> if u want help me or let other people make it


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Auto save Diagram [message #1059835 is a reply to message #1059687] Tue, 21 May 2013 20:11 Go to previous messageGo to next message
bradai hazem is currently offline bradai hazemFriend
Messages: 20
Registered: March 2013
Junior Member
when i post a question in the forum et already paseed days and days searching for solution so don't talk about thing that you didn't know and thank you very much about saying "stupid" i appreciate that from a person say that he want help people
Re: Auto save Diagram [message #1059868 is a reply to message #1059835] Wed, 22 May 2013 03:34 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Bradai,

It's clear you didn't read the information at the link or you'd not have
posted a note like this. I didn't say you are stupid, I said the way
the question is formulated in a fashion that makes you appear to be one
of the following: lazy, stupid, or careless. It's mostly about
appearances, so if you had read carefully the information at the link,
you would have learned how to create an impression that makes you appear
as someone others would want to invest time in helping. Instead, you
create more bad impressions here, i.e., you appear not to be capable of
holding down the shift key while typing the letter "i" so you can
properly spell the word "I". In fact you appear to not know about using
a shift key at all. You also appear not to be able to find the "." to
end a sentence though you appear to be able to find quotation marks and
to spell abbreviations such as "don't" properly. Also it doesn't appear
as if you are able to run a spell checker on your formulation. But all
that is are just the superficial appearances (which creates first
impressions).

Let's consider your claim that you did your days of searching: I go to
my Google search bar in my favorite browser and type "EMF command stack
listener" and low and behold, I find Javadoc for a command stack
listener. Even searching for your original question "GMF autosave" I
find http://www.eclipse.org/forums/index.php/m/490094/. To me that
makes your claim of having spent days seem less than credible.


On 21/05/2013 10:11 PM, bradai hazem wrote:
> when i post a question in the forum et already paseed days and days
> searching for solution so don't talk about thing that you didn't know
> and thank you very much about saying "stupid" i appreciate that from
> a person say that he want help people


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Defining elements to draw from the ecore metamodel
Next Topic:Remove bottom padding from rectangle
Goto Forum:
  


Current Time: Thu Apr 25 05:22:52 GMT 2024

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

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

Back to the top