Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » creating a diagram
creating a diagram [message #183783] Tue, 22 April 2008 07:38 Go to next message
Eclipse UserFriend
Originally posted by: aritz.galdos.iese.fraunhofer.de

Good morning everybody!!!

I have created an editor, where I can draw some rectangles and then I can
create connection between them. This all staff is working, I mean, I create
a diagram, then the user makes the diagram and at the end he saves and
everything is ok. So, creating an empty diagram is working.

No, I want to create a diagram automatically with some rectangles and some
connections since the beginning. I mean, when the user wants to create a
diagram everything should work like the situation explained in the first
paragraph but instead of creating an empty diagram, some rectangles should
appear.

So, how can I add components to the diagram file automatically? If I am not
wrong first I create the domain model, then I add components to it and at
the end I create the diagram model. Don't I? Which is the methods that I
should use to add the components to the domain model? And to create the
diagram model?

Thank you in advance and sorry because of my poor English

Aritz
Re: creating a diagram [message #183814 is a reply to message #183783] Tue, 22 April 2008 10:42 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Aritz,

> am not wrong first I create the domain model, then I add components to
> it and at the end I create the diagram model. Don't I? Which is the
You are right!

> methods that I should use to add the components to the domain model?
> And to create the diagram model?
See generated ???DiagramEditorUtil.createDiagram() as an example.

-----------------
Alex Shatalin
Re: creating a diagram [message #183848 is a reply to message #183814] Tue, 22 April 2008 12:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aritz.galdos.iese.fraunhofer.de

HI!!

Thank you!!! But I have done this and it is working. I have created the
modeldiagram file, but now I want to add some nodes and relations that I
have stored in an object. How can I "update" this file?

Thank you very much!!!

Aritz
"Alex Shatalin" <vano@borland.com> wrote in message
news:3c3172e6215be8ca728d85b4ea20@news.eclipse.org...
> Hello Aritz,
>
>> am not wrong first I create the domain model, then I add components to
>> it and at the end I create the diagram model. Don't I? Which is the
> You are right!
>
>> methods that I should use to add the components to the domain model?
>> And to create the diagram model?
> See generated ???DiagramEditorUtil.createDiagram() as an example.
>
> -----------------
> Alex Shatalin
>
>
Re: creating a diagram [message #183865 is a reply to message #183848] Tue, 22 April 2008 12:54 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Aritz,

If you nedd to update model file on each openning then try implementing/modifying
generated ???CanonicalEditPolicy for the diagram.

-----------------
Alex Shatalin
Re: creating a diagram [message #183880 is a reply to message #183865] Tue, 22 April 2008 14:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aritz.galdos.iese.fraunhofer.de

Hello again!!

Thank you for answering but I still have problems. I don't know if I don't
understand you or you don't understand me, so I will try to explain my
situation better. So, let's start!

I have an object where all my nodes and relation between them are saved in
it. First, I have the nodes, and under them I have the relations. In the
other side, I have created all the files that I need by
RuntimeViewmodelDiagramEditorUtil.createDiagram(...). So, until now, I have
the object with all the information and all the file that I need, which is
called example.xxx, where xxx is my EMF model name.

When I create the file, the file contains the next code:
<?xml version="1.0" encoding="UTF-8"?>
< de.fhg.iese.pulse.SAVE.core.runtimemodel.viewmodel:RTDiagram
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:de.....viewmodel="http:///.../RuntimeViewmodel.ecore"/>

And I Would like to have apart from that, something like the next code:

<node name...
<relation name... />
<relation name... />
</node>
...

It means that now, I want to save all the nodes and all the relations in the
file hierarquically. And that is my problem. I don't know how to add the
second part to the first part.

I hope that now the question is explained better. If the answer is still
the before one, I am sorry but could you explain me better?

Thank you very much, really!!

Aritz

P.D: I am sorry because of my poor English










"Alex Shatalin" <vano@borland.com> wrote in message
news:3c3172e6215e98ca729fefd888ef@news.eclipse.org...
> Hello Aritz,
>
> If you nedd to update model file on each openning then try
> implementing/modifying generated ???CanonicalEditPolicy for the diagram.
>
> -----------------
> Alex Shatalin
>
>
Re: creating a diagram [message #184045 is a reply to message #183880] Wed, 23 April 2008 12:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aritz.galdos.iese.fraunhofer.de

Hello!!!

I wrote yesterday asking some doubts and I get to solve one part but no all
of them. I think that this should be the seudo code. If I am wrong, correct
me, please:


EObject object;

Resource r = ...DiagramEditorUtil.createDiagram(...);


final Resource modelResource = r.getResourceSet().getResource(..., true);

final Resource diagramResource = r.getResourceSet().getResource(..., true);


modelResource.getContents().add(object);


Diagram dia =
ViewService.createDiagram(object,RTDiagramEditPart.MODEL_ID, RuntimeViewmodelDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT );

if (dia != null) {

diagramResource.getContents().add(dia);

dia.setName(...);

dia.setElement(object);

}


try {

modelResource.save(RuntimeViewmodel.diagram.part.RuntimeView modelDiagramEditorUtil.getSaveOptions());

} catch (IOException e) {


RuntimeViewmodel.diagram.part.RuntimeViewmodelDiagramEditorP lugin.getInstance().logError(

"Unable to store model and diagram resources", e); //$NON-NLS-1$

}

But I have a problem. It returns me a Illegal State Exception, meaning that
no transaction is currently active. Can anybody help me? Please??? Thank you
in advance and I am sorry becuase of my poor English!!!

Aritz







"Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
news:fukril$p6c$1@build.eclipse.org...
> Hello again!!
>
> Thank you for answering but I still have problems. I don't know if I don't
> understand you or you don't understand me, so I will try to explain my
> situation better. So, let's start!
>
> I have an object where all my nodes and relation between them are saved in
> it. First, I have the nodes, and under them I have the relations. In the
> other side, I have created all the files that I need by
> RuntimeViewmodelDiagramEditorUtil.createDiagram(...). So, until now, I
> have the object with all the information and all the file that I need,
> which is called example.xxx, where xxx is my EMF model name.
>
> When I create the file, the file contains the next code:
> <?xml version="1.0" encoding="UTF-8"?>
> < de.fhg.iese.pulse.SAVE.core.runtimemodel.viewmodel:RTDiagram
> xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:de.....viewmodel="http:///.../RuntimeViewmodel.ecore"/>
>
> And I Would like to have apart from that, something like the next code:
>
> <node name...
> <relation name... />
> <relation name... />
> </node>
> ...
>
> It means that now, I want to save all the nodes and all the relations in
> the file hierarquically. And that is my problem. I don't know how to add
> the second part to the first part.
>
> I hope that now the question is explained better. If the answer is still
> the before one, I am sorry but could you explain me better?
>
> Thank you very much, really!!
>
> Aritz
>
> P.D: I am sorry because of my poor English
>
>
>
>
>
>
>
>
>
>
> "Alex Shatalin" <vano@borland.com> wrote in message
> news:3c3172e6215e98ca729fefd888ef@news.eclipse.org...
>> Hello Aritz,
>>
>> If you nedd to update model file on each openning then try
>> implementing/modifying generated ???CanonicalEditPolicy for the diagram.
>>
>> -----------------
>> Alex Shatalin
>>
>>
>
>
Re: creating a diagram [message #184102 is a reply to message #184045] Thu, 24 April 2008 07:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aritz.galdos.iese.fraunhofer.de

Hello!!

Can anybody help me? Do you understand my problem? Does anybody know how to
create the diagrams by code? If somebody can help me it is greateful!! Thank
you in advance!!!


Aritz



"Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
news:funbo7$skc$1@build.eclipse.org...
> Hello!!!
>
> I wrote yesterday asking some doubts and I get to solve one part but no
> all of them. I think that this should be the seudo code. If I am wrong,
> correct me, please:
>
>
> EObject object;
>
> Resource r = ...DiagramEditorUtil.createDiagram(...);
>
>
> final Resource modelResource = r.getResourceSet().getResource(..., true);
>
> final Resource diagramResource = r.getResourceSet().getResource(...,
> true);
>
>
> modelResource.getContents().add(object);
>
>
> Diagram dia =
> ViewService.createDiagram(object,RTDiagramEditPart.MODEL_ID, RuntimeViewmodelDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT );
>
> if (dia != null) {
>
> diagramResource.getContents().add(dia);
>
> dia.setName(...);
>
> dia.setElement(object);
>
> }
>
>
> try {
>
> modelResource.save(RuntimeViewmodel.diagram.part.RuntimeView modelDiagramEditorUtil.getSaveOptions());
>
> } catch (IOException e) {
>
>
> RuntimeViewmodel.diagram.part.RuntimeViewmodelDiagramEditorP lugin.getInstance().logError(
>
> "Unable to store model and diagram resources", e); //$NON-NLS-1$
>
> }
>
> But I have a problem. It returns me a Illegal State Exception, meaning
> that no transaction is currently active. Can anybody help me? Please???
> Thank you in advance and I am sorry becuase of my poor English!!!
>
> Aritz
>
>
>
>
>
>
>
> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
> news:fukril$p6c$1@build.eclipse.org...
>> Hello again!!
>>
>> Thank you for answering but I still have problems. I don't know if I
>> don't understand you or you don't understand me, so I will try to explain
>> my situation better. So, let's start!
>>
>> I have an object where all my nodes and relation between them are saved
>> in it. First, I have the nodes, and under them I have the relations. In
>> the other side, I have created all the files that I need by
>> RuntimeViewmodelDiagramEditorUtil.createDiagram(...). So, until now, I
>> have the object with all the information and all the file that I need,
>> which is called example.xxx, where xxx is my EMF model name.
>>
>> When I create the file, the file contains the next code:
>> <?xml version="1.0" encoding="UTF-8"?>
>> < de.fhg.iese.pulse.SAVE.core.runtimemodel.viewmodel:RTDiagram
>> xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:de.....viewmodel="http:///.../RuntimeViewmodel.ecore"/>
>>
>> And I Would like to have apart from that, something like the next code:
>>
>> <node name...
>> <relation name... />
>> <relation name... />
>> </node>
>> ...
>>
>> It means that now, I want to save all the nodes and all the relations in
>> the file hierarquically. And that is my problem. I don't know how to add
>> the second part to the first part.
>>
>> I hope that now the question is explained better. If the answer is still
>> the before one, I am sorry but could you explain me better?
>>
>> Thank you very much, really!!
>>
>> Aritz
>>
>> P.D: I am sorry because of my poor English
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> "Alex Shatalin" <vano@borland.com> wrote in message
>> news:3c3172e6215e98ca729fefd888ef@news.eclipse.org...
>>> Hello Aritz,
>>>
>>> If you nedd to update model file on each openning then try
>>> implementing/modifying generated ???CanonicalEditPolicy for the diagram.
>>>
>>> -----------------
>>> Alex Shatalin
>>>
>>>
>>
>>
>
>
Re: creating a diagram [message #184130 is a reply to message #184045] Thu, 24 April 2008 10:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aritz.galdos.iese.fraunhofer.de

Hello!!!



I am debuging and debuging the code and I have seen that the "error" is when
I execute the next sentence: modelResource.getContents().add(object);
In TransactionChangeRecorder.class the method assertWriting (),
gettingTheActiveTransaction is null. I mean, the activeTransaction is null.
Does anybody know why? Any idea?



Thank you very much!!!



Aritz





"Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
news:funbo7$skc$1@build.eclipse.org...
> Hello!!!
>
> I wrote yesterday asking some doubts and I get to solve one part but no
> all of them. I think that this should be the seudo code. If I am wrong,
> correct me, please:
>
>
> EObject object;
>
> Resource r = ...DiagramEditorUtil.createDiagram(...);
>
>
> final Resource modelResource = r.getResourceSet().getResource(..., true);
>
> final Resource diagramResource = r.getResourceSet().getResource(...,
> true);
>
>
> modelResource.getContents().add(object);
>
>
> Diagram dia =
> ViewService.createDiagram(object,RTDiagramEditPart.MODEL_ID, RuntimeViewmodelDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT );
>
> if (dia != null) {
>
> diagramResource.getContents().add(dia);
>
> dia.setName(...);
>
> dia.setElement(object);
>
> }
>
>
> try {
>
> modelResource.save(RuntimeViewmodel.diagram.part.RuntimeView modelDiagramEditorUtil.getSaveOptions());
>
> } catch (IOException e) {
>
>
> RuntimeViewmodel.diagram.part.RuntimeViewmodelDiagramEditorP lugin.getInstance().logError(
>
> "Unable to store model and diagram resources", e); //$NON-NLS-1$
>
> }
>
> But I have a problem. It returns me a Illegal State Exception, meaning
> that no transaction is currently active. Can anybody help me? Please???
> Thank you in advance and I am sorry becuase of my poor English!!!
>
> Aritz
>
>
>
>
>
>
>
> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
> news:fukril$p6c$1@build.eclipse.org...
>> Hello again!!
>>
>> Thank you for answering but I still have problems. I don't know if I
>> don't understand you or you don't understand me, so I will try to explain
>> my situation better. So, let's start!
>>
>> I have an object where all my nodes and relation between them are saved
>> in it. First, I have the nodes, and under them I have the relations. In
>> the other side, I have created all the files that I need by
>> RuntimeViewmodelDiagramEditorUtil.createDiagram(...). So, until now, I
>> have the object with all the information and all the file that I need,
>> which is called example.xxx, where xxx is my EMF model name.
>>
>> When I create the file, the file contains the next code:
>> <?xml version="1.0" encoding="UTF-8"?>
>> < de.fhg.iese.pulse.SAVE.core.runtimemodel.viewmodel:RTDiagram
>> xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:de.....viewmodel="http:///.../RuntimeViewmodel.ecore"/>
>>
>> And I Would like to have apart from that, something like the next code:
>>
>> <node name...
>> <relation name... />
>> <relation name... />
>> </node>
>> ...
>>
>> It means that now, I want to save all the nodes and all the relations in
>> the file hierarquically. And that is my problem. I don't know how to add
>> the second part to the first part.
>>
>> I hope that now the question is explained better. If the answer is still
>> the before one, I am sorry but could you explain me better?
>>
>> Thank you very much, really!!
>>
>> Aritz
>>
>> P.D: I am sorry because of my poor English
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> "Alex Shatalin" <vano@borland.com> wrote in message
>> news:3c3172e6215e98ca729fefd888ef@news.eclipse.org...
>>> Hello Aritz,
>>>
>>> If you nedd to update model file on each openning then try
>>> implementing/modifying generated ???CanonicalEditPolicy for the diagram.
>>>
>>> -----------------
>>> Alex Shatalin
>>>
>>>
>>
>>
>
>
Re: creating a diagram [message #184144 is a reply to message #184130] Thu, 24 April 2008 12:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

Model should be modified within a write transaction; see
AbstractTransactionalCommand

Aritz wrote:
> Hello!!!
>
>
>
> I am debuging and debuging the code and I have seen that the "error" is when
> I execute the next sentence: modelResource.getContents().add(object);
> In TransactionChangeRecorder.class the method assertWriting (),
> gettingTheActiveTransaction is null. I mean, the activeTransaction is null.
> Does anybody know why? Any idea?
>
>
>
> Thank you very much!!!
>
>
>
> Aritz
>
>
>
>
>
> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
> news:funbo7$skc$1@build.eclipse.org...
>> Hello!!!
>>
>> I wrote yesterday asking some doubts and I get to solve one part but no
>> all of them. I think that this should be the seudo code. If I am wrong,
>> correct me, please:
>>
>>
>> EObject object;
>>
>> Resource r = ...DiagramEditorUtil.createDiagram(...);
>>
>>
>> final Resource modelResource = r.getResourceSet().getResource(..., true);
>>
>> final Resource diagramResource = r.getResourceSet().getResource(...,
>> true);
>>
>>
>> modelResource.getContents().add(object);
>>
>>
>> Diagram dia =
>> ViewService.createDiagram(object,RTDiagramEditPart.MODEL_ID, RuntimeViewmodelDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT );
>>
>> if (dia != null) {
>>
>> diagramResource.getContents().add(dia);
>>
>> dia.setName(...);
>>
>> dia.setElement(object);
>>
>> }
>>
>>
>> try {
>>
>> modelResource.save(RuntimeViewmodel.diagram.part.RuntimeView modelDiagramEditorUtil.getSaveOptions());
>>
>> } catch (IOException e) {
>>
>>
>> RuntimeViewmodel.diagram.part.RuntimeViewmodelDiagramEditorP lugin.getInstance().logError(
>>
>> "Unable to store model and diagram resources", e); //$NON-NLS-1$
>>
>> }
>>
>> But I have a problem. It returns me a Illegal State Exception, meaning
>> that no transaction is currently active. Can anybody help me? Please???
>> Thank you in advance and I am sorry becuase of my poor English!!!
>>
>> Aritz
>>
>>
>>
>>
>>
>>
>>
>> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
>> news:fukril$p6c$1@build.eclipse.org...
>>> Hello again!!
>>>
>>> Thank you for answering but I still have problems. I don't know if I
>>> don't understand you or you don't understand me, so I will try to explain
>>> my situation better. So, let's start!
>>>
>>> I have an object where all my nodes and relation between them are saved
>>> in it. First, I have the nodes, and under them I have the relations. In
>>> the other side, I have created all the files that I need by
>>> RuntimeViewmodelDiagramEditorUtil.createDiagram(...). So, until now, I
>>> have the object with all the information and all the file that I need,
>>> which is called example.xxx, where xxx is my EMF model name.
>>>
>>> When I create the file, the file contains the next code:
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> < de.fhg.iese.pulse.SAVE.core.runtimemodel.viewmodel:RTDiagram
>>> xmi:version="2.0"
>>> xmlns:xmi="http://www.omg.org/XMI"
>>> xmlns:de.....viewmodel="http:///.../RuntimeViewmodel.ecore"/>
>>>
>>> And I Would like to have apart from that, something like the next code:
>>>
>>> <node name...
>>> <relation name... />
>>> <relation name... />
>>> </node>
>>> ...
>>>
>>> It means that now, I want to save all the nodes and all the relations in
>>> the file hierarquically. And that is my problem. I don't know how to add
>>> the second part to the first part.
>>>
>>> I hope that now the question is explained better. If the answer is still
>>> the before one, I am sorry but could you explain me better?
>>>
>>> Thank you very much, really!!
>>>
>>> Aritz
>>>
>>> P.D: I am sorry because of my poor English
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> "Alex Shatalin" <vano@borland.com> wrote in message
>>> news:3c3172e6215e98ca729fefd888ef@news.eclipse.org...
>>>> Hello Aritz,
>>>>
>>>> If you nedd to update model file on each openning then try
>>>> implementing/modifying generated ???CanonicalEditPolicy for the diagram.
>>>>
>>>> -----------------
>>>> Alex Shatalin
>>>>
>>>>
>>>
>>
>
>
Re: creating a diagram [message #184152 is a reply to message #184144] Thu, 24 April 2008 13:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aritz.galdos.iese.fraunhofer.de

Hi!!

Thank you for answering me!!! I have seen AbstractTransactionalCommand and I
have tried some different things with it. The code which I added in a post
before, is based in AbstractTransactionaCommand. I createDiagram first of
all and I get back a Resource. From here, I get back the modelResource and
the diagramResource. And now, I want to add my model to the modelResource
and here is the problem.

I have tried also using next piece of code that is generated in the
....DiagramEditorUtil but get the same problem.
AbstractTransactionalCommand command = new AbstractTransactionalCommand(

editingDomain,

"Creating diagram and model", Collections.EMPTY_LIST) { //$NON-NLS-1$

protected CommandResult doExecuteWithResult ....

Has anybody another idea for the solution of this problem?

Thank youo in advance and I am sorry because of my poor English!!

Aritz



"Dmitry Stadnik" <5d5@mail.ru> wrote in message
news:fupt9c$oij$2@build.eclipse.org...
> Model should be modified within a write transaction; see
> AbstractTransactionalCommand
>
> Aritz wrote:
>> Hello!!!
>>
>>
>>
>> I am debuging and debuging the code and I have seen that the "error" is
>> when I execute the next sentence:
>> modelResource.getContents().add(object);
>> In TransactionChangeRecorder.class the method assertWriting (),
>> gettingTheActiveTransaction is null. I mean, the activeTransaction is
>> null. Does anybody know why? Any idea?
>>
>>
>>
>> Thank you very much!!!
>>
>>
>>
>> Aritz
>>
>>
>>
>>
>>
>> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
>> news:funbo7$skc$1@build.eclipse.org...
>>> Hello!!!
>>>
>>> I wrote yesterday asking some doubts and I get to solve one part but no
>>> all of them. I think that this should be the seudo code. If I am wrong,
>>> correct me, please:
>>>
>>>
>>> EObject object;
>>>
>>> Resource r = ...DiagramEditorUtil.createDiagram(...);
>>>
>>>
>>> final Resource modelResource = r.getResourceSet().getResource(...,
>>> true);
>>>
>>> final Resource diagramResource = r.getResourceSet().getResource(...,
>>> true);
>>>
>>>
>>> modelResource.getContents().add(object);
>>>
>>>
>>> Diagram dia =
>>> ViewService.createDiagram(object,RTDiagramEditPart.MODEL_ID, RuntimeViewmodelDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT );
>>>
>>> if (dia != null) {
>>>
>>> diagramResource.getContents().add(dia);
>>>
>>> dia.setName(...);
>>>
>>> dia.setElement(object);
>>>
>>> }
>>>
>>>
>>> try {
>>>
>>> modelResource.save(RuntimeViewmodel.diagram.part.RuntimeView modelDiagramEditorUtil.getSaveOptions());
>>>
>>> } catch (IOException e) {
>>>
>>>
>>> RuntimeViewmodel.diagram.part.RuntimeViewmodelDiagramEditorP lugin.getInstance().logError(
>>>
>>> "Unable to store model and diagram resources", e); //$NON-NLS-1$
>>>
>>> }
>>>
>>> But I have a problem. It returns me a Illegal State Exception, meaning
>>> that no transaction is currently active. Can anybody help me? Please???
>>> Thank you in advance and I am sorry becuase of my poor English!!!
>>>
>>> Aritz
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
>>> news:fukril$p6c$1@build.eclipse.org...
>>>> Hello again!!
>>>>
>>>> Thank you for answering but I still have problems. I don't know if I
>>>> don't understand you or you don't understand me, so I will try to
>>>> explain my situation better. So, let's start!
>>>>
>>>> I have an object where all my nodes and relation between them are saved
>>>> in it. First, I have the nodes, and under them I have the relations. In
>>>> the other side, I have created all the files that I need by
>>>> RuntimeViewmodelDiagramEditorUtil.createDiagram(...). So, until now, I
>>>> have the object with all the information and all the file that I need,
>>>> which is called example.xxx, where xxx is my EMF model name.
>>>>
>>>> When I create the file, the file contains the next code:
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> < de.fhg.iese.pulse.SAVE.core.runtimemodel.viewmodel:RTDiagram
>>>> xmi:version="2.0"
>>>> xmlns:xmi="http://www.omg.org/XMI"
>>>> xmlns:de.....viewmodel="http:///.../RuntimeViewmodel.ecore"/>
>>>>
>>>> And I Would like to have apart from that, something like the next code:
>>>>
>>>> <node name...
>>>> <relation name... />
>>>> <relation name... />
>>>> </node>
>>>> ...
>>>>
>>>> It means that now, I want to save all the nodes and all the relations
>>>> in the file hierarquically. And that is my problem. I don't know how to
>>>> add the second part to the first part.
>>>>
>>>> I hope that now the question is explained better. If the answer is
>>>> still the before one, I am sorry but could you explain me better?
>>>>
>>>> Thank you very much, really!!
>>>>
>>>> Aritz
>>>>
>>>> P.D: I am sorry because of my poor English
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> "Alex Shatalin" <vano@borland.com> wrote in message
>>>> news:3c3172e6215e98ca729fefd888ef@news.eclipse.org...
>>>>> Hello Aritz,
>>>>>
>>>>> If you nedd to update model file on each openning then try
>>>>> implementing/modifying generated ???CanonicalEditPolicy for the
>>>>> diagram.
>>>>>
>>>>> -----------------
>>>>> Alex Shatalin
>>>>>
>>>>>
>>>>
>>>
>>
Re: creating a diagram [message #184154 is a reply to message #184152] Thu, 24 April 2008 14:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aritz.galdos.iese.fraunhofer.de

Hi everybody!!!

I have just gotten to create the file of the model perfectly but I still
can't add the "diagram" to the diagram I mean, I create both files, and I
add refresh the model file, but I can't refresh the diagramFile. I use the
same methods, but it does not work. The diagramResource is ok, I have
checked. Any idea?

Thank you!!!

Aritz



"Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
news:fuq08u$c7p$1@build.eclipse.org...
> Hi!!
>
> Thank you for answering me!!! I have seen AbstractTransactionalCommand and
> I have tried some different things with it. The code which I added in a
> post before, is based in AbstractTransactionaCommand. I createDiagram
> first of all and I get back a Resource. From here, I get back the
> modelResource and the diagramResource. And now, I want to add my model to
> the modelResource and here is the problem.
>
> I have tried also using next piece of code that is generated in the
> ...DiagramEditorUtil but get the same problem.
> AbstractTransactionalCommand command = new AbstractTransactionalCommand(
>
> editingDomain,
>
> "Creating diagram and model", Collections.EMPTY_LIST) { //$NON-NLS-1$
>
> protected CommandResult doExecuteWithResult ....
>
> Has anybody another idea for the solution of this problem?
>
> Thank youo in advance and I am sorry because of my poor English!!
>
> Aritz
>
>
>
> "Dmitry Stadnik" <5d5@mail.ru> wrote in message
> news:fupt9c$oij$2@build.eclipse.org...
>> Model should be modified within a write transaction; see
>> AbstractTransactionalCommand
>>
>> Aritz wrote:
>>> Hello!!!
>>>
>>>
>>>
>>> I am debuging and debuging the code and I have seen that the "error" is
>>> when I execute the next sentence:
>>> modelResource.getContents().add(object);
>>> In TransactionChangeRecorder.class the method assertWriting (),
>>> gettingTheActiveTransaction is null. I mean, the activeTransaction is
>>> null. Does anybody know why? Any idea?
>>>
>>>
>>>
>>> Thank you very much!!!
>>>
>>>
>>>
>>> Aritz
>>>
>>>
>>>
>>>
>>>
>>> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
>>> news:funbo7$skc$1@build.eclipse.org...
>>>> Hello!!!
>>>>
>>>> I wrote yesterday asking some doubts and I get to solve one part but no
>>>> all of them. I think that this should be the seudo code. If I am wrong,
>>>> correct me, please:
>>>>
>>>>
>>>> EObject object;
>>>>
>>>> Resource r = ...DiagramEditorUtil.createDiagram(...);
>>>>
>>>>
>>>> final Resource modelResource = r.getResourceSet().getResource(...,
>>>> true);
>>>>
>>>> final Resource diagramResource = r.getResourceSet().getResource(...,
>>>> true);
>>>>
>>>>
>>>> modelResource.getContents().add(object);
>>>>
>>>>
>>>> Diagram dia =
>>>> ViewService.createDiagram(object,RTDiagramEditPart.MODEL_ID, RuntimeViewmodelDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT );
>>>>
>>>> if (dia != null) {
>>>>
>>>> diagramResource.getContents().add(dia);
>>>>
>>>> dia.setName(...);
>>>>
>>>> dia.setElement(object);
>>>>
>>>> }
>>>>
>>>>
>>>> try {
>>>>
>>>> modelResource.save(RuntimeViewmodel.diagram.part.RuntimeView modelDiagramEditorUtil.getSaveOptions());
>>>>
>>>> } catch (IOException e) {
>>>>
>>>>
>>>> RuntimeViewmodel.diagram.part.RuntimeViewmodelDiagramEditorP lugin.getInstance().logError(
>>>>
>>>> "Unable to store model and diagram resources", e); //$NON-NLS-1$
>>>>
>>>> }
>>>>
>>>> But I have a problem. It returns me a Illegal State Exception, meaning
>>>> that no transaction is currently active. Can anybody help me? Please???
>>>> Thank you in advance and I am sorry becuase of my poor English!!!
>>>>
>>>> Aritz
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
>>>> news:fukril$p6c$1@build.eclipse.org...
>>>>> Hello again!!
>>>>>
>>>>> Thank you for answering but I still have problems. I don't know if I
>>>>> don't understand you or you don't understand me, so I will try to
>>>>> explain my situation better. So, let's start!
>>>>>
>>>>> I have an object where all my nodes and relation between them are
>>>>> saved in it. First, I have the nodes, and under them I have the
>>>>> relations. In the other side, I have created all the files that I need
>>>>> by RuntimeViewmodelDiagramEditorUtil.createDiagram(...). So, until
>>>>> now, I have the object with all the information and all the file that
>>>>> I need, which is called example.xxx, where xxx is my EMF model name.
>>>>>
>>>>> When I create the file, the file contains the next code:
>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>> < de.fhg.iese.pulse.SAVE.core.runtimemodel.viewmodel:RTDiagram
>>>>> xmi:version="2.0"
>>>>> xmlns:xmi="http://www.omg.org/XMI"
>>>>> xmlns:de.....viewmodel="http:///.../RuntimeViewmodel.ecore"/>
>>>>>
>>>>> And I Would like to have apart from that, something like the next
>>>>> code:
>>>>>
>>>>> <node name...
>>>>> <relation name... />
>>>>> <relation name... />
>>>>> </node>
>>>>> ...
>>>>>
>>>>> It means that now, I want to save all the nodes and all the relations
>>>>> in the file hierarquically. And that is my problem. I don't know how
>>>>> to add the second part to the first part.
>>>>>
>>>>> I hope that now the question is explained better. If the answer is
>>>>> still the before one, I am sorry but could you explain me better?
>>>>>
>>>>> Thank you very much, really!!
>>>>>
>>>>> Aritz
>>>>>
>>>>> P.D: I am sorry because of my poor English
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> "Alex Shatalin" <vano@borland.com> wrote in message
>>>>> news:3c3172e6215e98ca729fefd888ef@news.eclipse.org...
>>>>>> Hello Aritz,
>>>>>>
>>>>>> If you nedd to update model file on each openning then try
>>>>>> implementing/modifying generated ???CanonicalEditPolicy for the
>>>>>> diagram.
>>>>>>
>>>>>> -----------------
>>>>>> Alex Shatalin
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>
Re: creating a diagram [message #184294 is a reply to message #184154] Fri, 25 April 2008 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aritz.galdos.iese.fraunhofer.de

Hi!!

Can anybody help me, please? I don't know what more I can try to make it
work. The part of the code where I save the diagrams is the same as the
....DiagramEditorUtil, exactly this one:
modelResource.save(RuntimeViewmodel.diagram.part.RuntimeView modelDiagramEditorUtil.getSaveOptions());

this one works but when I want to save the diagram part, it doens't work:

diagramResource.save(RuntimeViewmodel.diagram.part.RuntimeVi ewmodelDiagramEditorUtil.getSaveOptions());

The program goes on but it is not saved the information of the diagram. Any
idea? Please!! Thank you!!!

Aritz


"Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
news:fuq5h4$tur$1@build.eclipse.org...
> Hi everybody!!!
>
> I have just gotten to create the file of the model perfectly but I still
> can't add the "diagram" to the diagram I mean, I create both files, and I
> add refresh the model file, but I can't refresh the diagramFile. I use the
> same methods, but it does not work. The diagramResource is ok, I have
> checked. Any idea?
>
> Thank you!!!
>
> Aritz
>
>
>
> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
> news:fuq08u$c7p$1@build.eclipse.org...
>> Hi!!
>>
>> Thank you for answering me!!! I have seen AbstractTransactionalCommand
>> and I have tried some different things with it. The code which I added in
>> a post before, is based in AbstractTransactionaCommand. I createDiagram
>> first of all and I get back a Resource. From here, I get back the
>> modelResource and the diagramResource. And now, I want to add my model to
>> the modelResource and here is the problem.
>>
>> I have tried also using next piece of code that is generated in the
>> ...DiagramEditorUtil but get the same problem.
>> AbstractTransactionalCommand command = new AbstractTransactionalCommand(
>>
>> editingDomain,
>>
>> "Creating diagram and model", Collections.EMPTY_LIST) { //$NON-NLS-1$
>>
>> protected CommandResult doExecuteWithResult ....
>>
>> Has anybody another idea for the solution of this problem?
>>
>> Thank youo in advance and I am sorry because of my poor English!!
>>
>> Aritz
>>
>>
>>
>> "Dmitry Stadnik" <5d5@mail.ru> wrote in message
>> news:fupt9c$oij$2@build.eclipse.org...
>>> Model should be modified within a write transaction; see
>>> AbstractTransactionalCommand
>>>
>>> Aritz wrote:
>>>> Hello!!!
>>>>
>>>>
>>>>
>>>> I am debuging and debuging the code and I have seen that the "error" is
>>>> when I execute the next sentence:
>>>> modelResource.getContents().add(object);
>>>> In TransactionChangeRecorder.class the method assertWriting (),
>>>> gettingTheActiveTransaction is null. I mean, the activeTransaction is
>>>> null. Does anybody know why? Any idea?
>>>>
>>>>
>>>>
>>>> Thank you very much!!!
>>>>
>>>>
>>>>
>>>> Aritz
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
>>>> news:funbo7$skc$1@build.eclipse.org...
>>>>> Hello!!!
>>>>>
>>>>> I wrote yesterday asking some doubts and I get to solve one part but
>>>>> no all of them. I think that this should be the seudo code. If I am
>>>>> wrong, correct me, please:
>>>>>
>>>>>
>>>>> EObject object;
>>>>>
>>>>> Resource r = ...DiagramEditorUtil.createDiagram(...);
>>>>>
>>>>>
>>>>> final Resource modelResource = r.getResourceSet().getResource(...,
>>>>> true);
>>>>>
>>>>> final Resource diagramResource = r.getResourceSet().getResource(...,
>>>>> true);
>>>>>
>>>>>
>>>>> modelResource.getContents().add(object);
>>>>>
>>>>>
>>>>> Diagram dia =
>>>>> ViewService.createDiagram(object,RTDiagramEditPart.MODEL_ID, RuntimeViewmodelDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT );
>>>>>
>>>>> if (dia != null) {
>>>>>
>>>>> diagramResource.getContents().add(dia);
>>>>>
>>>>> dia.setName(...);
>>>>>
>>>>> dia.setElement(object);
>>>>>
>>>>> }
>>>>>
>>>>>
>>>>> try {
>>>>>
>>>>> modelResource.save(RuntimeViewmodel.diagram.part.RuntimeView modelDiagramEditorUtil.getSaveOptions());
>>>>>
>>>>> } catch (IOException e) {
>>>>>
>>>>>
>>>>> RuntimeViewmodel.diagram.part.RuntimeViewmodelDiagramEditorP lugin.getInstance().logError(
>>>>>
>>>>> "Unable to store model and diagram resources", e); //$NON-NLS-1$
>>>>>
>>>>> }
>>>>>
>>>>> But I have a problem. It returns me a Illegal State Exception, meaning
>>>>> that no transaction is currently active. Can anybody help me?
>>>>> Please??? Thank you in advance and I am sorry becuase of my poor
>>>>> English!!!
>>>>>
>>>>> Aritz
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
>>>>> news:fukril$p6c$1@build.eclipse.org...
>>>>>> Hello again!!
>>>>>>
>>>>>> Thank you for answering but I still have problems. I don't know if I
>>>>>> don't understand you or you don't understand me, so I will try to
>>>>>> explain my situation better. So, let's start!
>>>>>>
>>>>>> I have an object where all my nodes and relation between them are
>>>>>> saved in it. First, I have the nodes, and under them I have the
>>>>>> relations. In the other side, I have created all the files that I
>>>>>> need by RuntimeViewmodelDiagramEditorUtil.createDiagram(...). So,
>>>>>> until now, I have the object with all the information and all the
>>>>>> file that I need, which is called example.xxx, where xxx is my EMF
>>>>>> model name.
>>>>>>
>>>>>> When I create the file, the file contains the next code:
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> < de.fhg.iese.pulse.SAVE.core.runtimemodel.viewmodel:RTDiagram
>>>>>> xmi:version="2.0"
>>>>>> xmlns:xmi="http://www.omg.org/XMI"
>>>>>> xmlns:de.....viewmodel="http:///.../RuntimeViewmodel.ecore"/>
>>>>>>
>>>>>> And I Would like to have apart from that, something like the next
>>>>>> code:
>>>>>>
>>>>>> <node name...
>>>>>> <relation name... />
>>>>>> <relation name... />
>>>>>> </node>
>>>>>> ...
>>>>>>
>>>>>> It means that now, I want to save all the nodes and all the relations
>>>>>> in the file hierarquically. And that is my problem. I don't know how
>>>>>> to add the second part to the first part.
>>>>>>
>>>>>> I hope that now the question is explained better. If the answer is
>>>>>> still the before one, I am sorry but could you explain me better?
>>>>>>
>>>>>> Thank you very much, really!!
>>>>>>
>>>>>> Aritz
>>>>>>
>>>>>> P.D: I am sorry because of my poor English
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> "Alex Shatalin" <vano@borland.com> wrote in message
>>>>>> news:3c3172e6215e98ca729fefd888ef@news.eclipse.org...
>>>>>>> Hello Aritz,
>>>>>>>
>>>>>>> If you nedd to update model file on each openning then try
>>>>>>> implementing/modifying generated ???CanonicalEditPolicy for the
>>>>>>> diagram.
>>>>>>>
>>>>>>> -----------------
>>>>>>> Alex Shatalin
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>
>
>
Re: creating a diagram [message #184470 is a reply to message #184154] Mon, 28 April 2008 06:46 Go to previous message
Eclipse UserFriend
Originally posted by: aritz.galdos.iese.fraunhofer.de

Hello!!

During last week, I wrote some messages but I didn't get the good answer for
my problem. I still have this problem and I don`t knowhow to go on. Can
anybody help me, please? I don`t know wha more I can try to solve this
problem!

Thank you very much in advance, and I am sorry because of my poor English!!

Aritz



"Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
news:fuq5h4$tur$1@build.eclipse.org...
> Hi everybody!!!
>
> I have just gotten to create the file of the model perfectly but I still
> can't add the "diagram" to the diagram I mean, I create both files, and I
> add refresh the model file, but I can't refresh the diagramFile. I use the
> same methods, but it does not work. The diagramResource is ok, I have
> checked. Any idea?
>
> Thank you!!!
>
> Aritz
>
>
>
> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
> news:fuq08u$c7p$1@build.eclipse.org...
>> Hi!!
>>
>> Thank you for answering me!!! I have seen AbstractTransactionalCommand
>> and I have tried some different things with it. The code which I added in
>> a post before, is based in AbstractTransactionaCommand. I createDiagram
>> first of all and I get back a Resource. From here, I get back the
>> modelResource and the diagramResource. And now, I want to add my model to
>> the modelResource and here is the problem.
>>
>> I have tried also using next piece of code that is generated in the
>> ...DiagramEditorUtil but get the same problem.
>> AbstractTransactionalCommand command = new AbstractTransactionalCommand(
>>
>> editingDomain,
>>
>> "Creating diagram and model", Collections.EMPTY_LIST) { //$NON-NLS-1$
>>
>> protected CommandResult doExecuteWithResult ....
>>
>> Has anybody another idea for the solution of this problem?
>>
>> Thank youo in advance and I am sorry because of my poor English!!
>>
>> Aritz
>>
>>
>>
>> "Dmitry Stadnik" <5d5@mail.ru> wrote in message
>> news:fupt9c$oij$2@build.eclipse.org...
>>> Model should be modified within a write transaction; see
>>> AbstractTransactionalCommand
>>>
>>> Aritz wrote:
>>>> Hello!!!
>>>>
>>>>
>>>>
>>>> I am debuging and debuging the code and I have seen that the "error" is
>>>> when I execute the next sentence:
>>>> modelResource.getContents().add(object);
>>>> In TransactionChangeRecorder.class the method assertWriting (),
>>>> gettingTheActiveTransaction is null. I mean, the activeTransaction is
>>>> null. Does anybody know why? Any idea?
>>>>
>>>>
>>>>
>>>> Thank you very much!!!
>>>>
>>>>
>>>>
>>>> Aritz
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
>>>> news:funbo7$skc$1@build.eclipse.org...
>>>>> Hello!!!
>>>>>
>>>>> I wrote yesterday asking some doubts and I get to solve one part but
>>>>> no all of them. I think that this should be the seudo code. If I am
>>>>> wrong, correct me, please:
>>>>>
>>>>>
>>>>> EObject object;
>>>>>
>>>>> Resource r = ...DiagramEditorUtil.createDiagram(...);
>>>>>
>>>>>
>>>>> final Resource modelResource = r.getResourceSet().getResource(...,
>>>>> true);
>>>>>
>>>>> final Resource diagramResource = r.getResourceSet().getResource(...,
>>>>> true);
>>>>>
>>>>>
>>>>> modelResource.getContents().add(object);
>>>>>
>>>>>
>>>>> Diagram dia =
>>>>> ViewService.createDiagram(object,RTDiagramEditPart.MODEL_ID, RuntimeViewmodelDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT );
>>>>>
>>>>> if (dia != null) {
>>>>>
>>>>> diagramResource.getContents().add(dia);
>>>>>
>>>>> dia.setName(...);
>>>>>
>>>>> dia.setElement(object);
>>>>>
>>>>> }
>>>>>
>>>>>
>>>>> try {
>>>>>
>>>>> modelResource.save(RuntimeViewmodel.diagram.part.RuntimeView modelDiagramEditorUtil.getSaveOptions());
>>>>>
>>>>> } catch (IOException e) {
>>>>>
>>>>>
>>>>> RuntimeViewmodel.diagram.part.RuntimeViewmodelDiagramEditorP lugin.getInstance().logError(
>>>>>
>>>>> "Unable to store model and diagram resources", e); //$NON-NLS-1$
>>>>>
>>>>> }
>>>>>
>>>>> But I have a problem. It returns me a Illegal State Exception, meaning
>>>>> that no transaction is currently active. Can anybody help me?
>>>>> Please??? Thank you in advance and I am sorry becuase of my poor
>>>>> English!!!
>>>>>
>>>>> Aritz
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> "Aritz" <aritz.galdos@iese.fraunhofer.de> wrote in message
>>>>> news:fukril$p6c$1@build.eclipse.org...
>>>>>> Hello again!!
>>>>>>
>>>>>> Thank you for answering but I still have problems. I don't know if I
>>>>>> don't understand you or you don't understand me, so I will try to
>>>>>> explain my situation better. So, let's start!
>>>>>>
>>>>>> I have an object where all my nodes and relation between them are
>>>>>> saved in it. First, I have the nodes, and under them I have the
>>>>>> relations. In the other side, I have created all the files that I
>>>>>> need by RuntimeViewmodelDiagramEditorUtil.createDiagram(...). So,
>>>>>> until now, I have the object with all the information and all the
>>>>>> file that I need, which is called example.xxx, where xxx is my EMF
>>>>>> model name.
>>>>>>
>>>>>> When I create the file, the file contains the next code:
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> < de.fhg.iese.pulse.SAVE.core.runtimemodel.viewmodel:RTDiagram
>>>>>> xmi:version="2.0"
>>>>>> xmlns:xmi="http://www.omg.org/XMI"
>>>>>> xmlns:de.....viewmodel="http:///.../RuntimeViewmodel.ecore"/>
>>>>>>
>>>>>> And I Would like to have apart from that, something like the next
>>>>>> code:
>>>>>>
>>>>>> <node name...
>>>>>> <relation name... />
>>>>>> <relation name... />
>>>>>> </node>
>>>>>> ...
>>>>>>
>>>>>> It means that now, I want to save all the nodes and all the relations
>>>>>> in the file hierarquically. And that is my problem. I don't know how
>>>>>> to add the second part to the first part.
>>>>>>
>>>>>> I hope that now the question is explained better. If the answer is
>>>>>> still the before one, I am sorry but could you explain me better?
>>>>>>
>>>>>> Thank you very much, really!!
>>>>>>
>>>>>> Aritz
>>>>>>
>>>>>> P.D: I am sorry because of my poor English
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> "Alex Shatalin" <vano@borland.com> wrote in message
>>>>>> news:3c3172e6215e98ca729fefd888ef@news.eclipse.org...
>>>>>>> Hello Aritz,
>>>>>>>
>>>>>>> If you nedd to update model file on each openning then try
>>>>>>> implementing/modifying generated ???CanonicalEditPolicy for the
>>>>>>> diagram.
>>>>>>>
>>>>>>> -----------------
>>>>>>> Alex Shatalin
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>
>
>
Previous Topic:Need help: non-visible element issue?
Next Topic:info about new
Goto Forum:
  


Current Time: Fri Apr 26 09:11:20 GMT 2024

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

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

Back to the top