Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to create nodes programmatically?(Problem : nodes are stored in the Domain Model but they aren't shown in the Diagram view)
How to create nodes programmatically? [message #668831] Sun, 08 May 2011 08:36 Go to next message
iDeveloper is currently offline iDeveloper
Messages: 1
Registered: May 2011
Location: Algeria
Junior Member
Hey, i'm trying to add automatically nodes to my diagram. So, this is what i did exactly :

private static Bigraphe createInitialModel() {
	Bigraphe bigraphe = BigrapheFactory.eINSTANCE.createBigraphe();
	Region reg = BigrapheFactory.eINSTANCE.createRegion();
        bigraphe.setNom("Bigraphe");
	reg.setNom("Reg1");
	bigraphe.getContenirRegions().add(reg);
	return bigraphe;
}

But when i run the Diagram my nodes are stored in the Domain Model but they aren't shown in the diagram view. somebody help please!
(no subject) [message #669365 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669368 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669369 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669372 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669377 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669383 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669384 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669387 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669391 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669394 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669395 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669398 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669402 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669405 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669410 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669416 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669417 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669421 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669425 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669427 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669434 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669435 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669437 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669438 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669439 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669445 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669446 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669452 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669453 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669457 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669458 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669461 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669462 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669464 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669472 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669474 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669479 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669482 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to next message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
(no subject) [message #669485 is a reply to message #668831] Tue, 10 May 2011 01:51 Go to previous messageGo to previous message
Jevon  is currently offline Jevon
Messages: 164
Registered: July 2009
Senior Member
Hi,

Have you checked that Region elements can be displayed in the diagram
editor, i.e. there is the .gmfgraph Node and corresponding .gmfmap
mapping between the Region and RegionFigure?

Jevon

iDeveloper wrote:
> Hey, i'm trying to add automatically nodes to my diagram.
> So, this is what i did exactly :
>
> private static Bigraphe createInitialModel() {
> Bigraphe bigraphe =
> BigrapheFactory.eINSTANCE.createBigraphe();
> Region reg = BigrapheFactory.eINSTANCE.createRegion();
> bigraphe.setNom("Bigraphe");
> reg.setNom("Reg1");
> bigraphe.getContenirRegions().add(reg);
> return bigraphe;
> }
> But when i run the Diagram my nodes are stored in the Domain
> Model but they aren't shown in the diagram view. somebody
> help please!
>
Previous Topic:propagating selections/selected state
Next Topic:Strange problem when creating a top node
Goto Forum:
  


Current Time: Tue Jul 29 17:10:24 EDT 2014

Powered by FUDForum. Page generated in 0.15712 seconds