Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » emf generated editor using transactional editing domain
emf generated editor using transactional editing domain [message #405466] Wed, 22 November 2006 02:28 Go to next message
Vlad Ciubotariu is currently offline Vlad CiubotariuFriend
Messages: 14
Registered: July 2009
Junior Member
Hi,

On the gmf list someone else made the emf editor work with a given
transactional editing domain.

I thought one has to manipulate a model through transactional commands,
however I'm pretty sure the emf editor doesn't do that. How does it work?

thanks for your help,
Vlad
Re: emf generated editor using transactional editing domain [message #405471 is a reply to message #405466] Wed, 22 November 2006 11:00 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------040400090208060800070701
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Vlad,

I think you'd want to use it in combination with
TransactionalCommandStackImpl which creates transactions as you execute
a command.

public void execute(Command command, Map options) throws
InterruptedException, RollbackException {
if ((command != null) && command.canExecute()) {
InternalTransaction tx = createTransaction(command,
options);



Vlad Ciubotariu wrote:
> Hi,
>
> On the gmf list someone else made the emf editor work with a given
> transactional editing domain.
>
> I thought one has to manipulate a model through transactional commands,
> however I'm pretty sure the emf editor doesn't do that. How does it work?
>
> thanks for your help,
> Vlad
>


--------------040400090208060800070701
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Vlad,<br>
<br>
I think you'd want to use it in combination with
TransactionalCommandStackImpl which creates transactions as you execute
a command.<br>
<blockquote>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: emf generated editor using transactional editing domain [message #405513 is a reply to message #405471] Thu, 23 November 2006 23:59 Go to previous message
Vlad Ciubotariu is currently offline Vlad CiubotariuFriend
Messages: 14
Registered: July 2009
Junior Member
Thanks a lot for the info.

vlad

On Wed, 22 Nov 2006 06:00:39 -0500, Ed Merks wrote:

> Vlad,
>
> I think you'd want to use it in combination with
> TransactionalCommandStackImpl which creates transactions as you execute
> a command.
>
> public void execute(Command command, Map options) throws
> InterruptedException, RollbackException {
> if ((command != null) && command.canExecute()) {
> InternalTransaction tx = createTransaction(command,
> options);
>
>
>
> Vlad Ciubotariu wrote:
>> Hi,
>>
>> On the gmf list someone else made the emf editor work with a given
>> transactional editing domain.
>>
>> I thought one has to manipulate a model through transactional commands,
>> however I'm pretty sure the emf editor doesn't do that. How does it work?
>>
>> thanks for your help,
>> Vlad
>>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta content="text/html;charset=ISO-8859-15"
> http-equiv="Content-Type">
> </head>
> <body bgcolor="#ffffff" text="#000000">
> Vlad,<br>
> <br>
> I think you'd want to use it in combination with
> TransactionalCommandStackImpl which creates transactions as you execute
> a command.<br>
> <blockquote>    public void execute(Command command, Map options)
> throws InterruptedException, RollbackException {<br>
>         if ((command != null) &amp;&amp; command.canExecute()) {<br>
>             InternalTransaction tx = createTransaction(command,
> options);<br>
>             <br>
> </blockquote>
> <br>
> Vlad Ciubotariu wrote:
> <blockquote cite="midpan.2006.11.22.02.28.39.725096@uwaterloo.ca"
> type="cite">
> <pre wrap="">Hi,
>
> On the gmf list someone else made the emf editor work with a given
> transactional editing domain.
>
> I thought one has to manipulate a model through transactional commands,
> however I'm pretty sure the emf editor doesn't do that. How does it work?
>
> thanks for your help,
> Vlad
> </pre>
> </blockquote>
> <br>
> </body>
> </html>
Previous Topic:EAnnotation contents lost due to EPackage generation
Next Topic:Question about saving model
Goto Forum:
  


Current Time: Tue Apr 16 14:41:19 GMT 2024

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

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

Back to the top