Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » entities with internal modeling area
entities with internal modeling area [message #175704] Tue, 05 April 2005 21:59 Go to next message
Eclipse UserFriend
Originally posted by: flsobral.yahoo.com.br

Hello.

I'm working on a plugin for modeling language. In this language, there are
entities like those 2 represented below. Those entities have names and
features and an area to insert other entities.
What I have to do is allow the user to create those entities and resize
their "internal" area. Also, I have to allow the user to insert some types
of entities in this internal area, but not any type, in fact some types
can only be added in an internal area and others can be added only in the
outside area.
The user must be able to move freely the internal entities but only in the
internal area an create associations between those internal entities.
Also, the user must be able to move any entity with their respective
internal areas, without affecting entities position in the internal area.

Is this posible to do with GEF?
How hard it would be?
What do I need to know to do it?


|--------------------| association |--------------------|
| name |------------------->| name |
| structural feature | | structural feature |
| behavioral feature | | behavioral feature |
---------------------------------- ----------------------------
| | | |
| ------ association -------- | | |
| |name|--------------->| name | | | |
| | | | | | | |
| ------ -------- | | |
---------------------------------- ----------------------------


Thanks in advance. :P
Re: entities with internal modeling area [message #175713 is a reply to message #175704] Tue, 05 April 2005 22:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: flsobral.yahoo.com.br

I hope it shows right now.



|--------------------| association |--------------------|
| name |------------------->| name |
| structural feature | | structural feature |
| behavioral feature | | behavioral feature |
---------------------------------- ----------------------------
| | | |
| ------ association -------- | | |
| |name|--------------->| name | | | |
| | | | | | | |
| ------ -------- | | |
---------------------------------- ----------------------------
Re: entities with internal modeling area [message #175720 is a reply to message #175704] Tue, 05 April 2005 22:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

This is a multi-part message in MIME format.

------=_NextPart_000_0015_01C53A0C.601F4DD0
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable

Yes, it is possible.

> I'm working on a plugin for modeling language. In this language, there =
are=20
> entities like those 2 represented below. Those entities have names and =

> features and an area to insert other entities.
> What I have to do is allow the user to create those entities and =
resize=20
> their "internal" area. Also, I have to allow the user to insert some =
types=20
> of entities in this internal area, but not any type, in fact some =
types=20
> can only be added in an internal area and others can be added only in =
the=20
> outside area.
> The user must be able to move freely the internal entities but only in =
the=20
> internal area an create associations between those internal entities.=20
> Also, the user must be able to move any entity with their respective=20
> internal areas, without affecting entities position in the internal =
area.
>=20
> Is this posible to do with GEF?
> How hard it would be?
> What do I need to know to do it?=20
>=20
>=20
> |--------------------| association |--------------------|
> | name |------------------->| name |
> | structural feature | | structural feature |
> | behavioral feature | | behavioral feature |
> ---------------------------------- ----------------------------
> | | | |
> | ------ association -------- | | | =
=20
> | |name|--------------->| name | | | |
> | | | | | | | |
> | ------ -------- | | |
> ---------------------------------- ----------------------------
>=20
>=20
> Thanks in advance. :P
>
------=_NextPart_000_0015_01C53A0C.601F4DD0
Content-Type: text/html;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-15">
<META content=3D"MSHTML 6.00.2900.2604" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Yes, it is possible.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>&gt; I'm working on a plugin for =
modeling=20
language. In this language, there are <BR>&gt; entities like those 2 =
represented=20
below. Those entities have names and <BR>&gt; features and an area to =
insert=20
other entities.<BR>&gt; What I have to do is allow the user to create =
those=20
entities and resize <BR>&gt; their "internal" area. Also, I have to =
allow the=20
user to insert some types <BR>&gt; of entities in this internal area, =
but not=20
any type, in fact some types <BR>&gt; can only be added in an internal =
area and=20
others can be added only in the <BR>&gt; outside area.<BR>&gt; The user =
must be=20
able to move freely the internal entities but only in the <BR>&gt; =
internal area=20
an create associations between those internal entities. <BR>&gt; Also, =
the user=20
must be able to move any entity with their respective <BR>&gt; internal =
areas,=20
without affecting entities position in the internal area.<BR>&gt; =
<BR>&gt; Is=20
this posible to do with GEF?<BR>&gt; How hard it would be?<BR>&gt; What =
do I=20
need to know to do it? <BR>&gt; <BR>&gt; <BR><FONT face=3DCourier>&gt;=20
|--------------------|&nbsp;&nbsp; =
association&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;=20
|--------------------|<BR>&gt; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;=20
name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;=20
|-------------------&gt;|&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=20
name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp; |<BR>&gt; | structural feature=20
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;=20
| structural feature |<BR>&gt; | behavioral feature=20
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;=20
| behavioral feature |<BR>&gt;=20
----------------------------------&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
----------------------------<BR>&gt;=20
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;=20
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;=20
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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
------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;=
nbsp;&nbsp;&nbsp;&nbsp;=20
-------- |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;=20
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &=
nbsp;=20
|<BR>&gt;=20
----------------------------------&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
----------------------------<BR></FONT>&gt; <BR>&gt; <BR>&gt; Thanks in =
advance.=20
:P<BR>&gt;</FONT></DIV></BODY></HTML>

------=_NextPart_000_0015_01C53A0C.601F4DD0--
Re: entities with internal modeling area [message #175736 is a reply to message #175704] Tue, 05 April 2005 22:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dakanalis.ced.tuc.gr

All these features you have described above are supported by GEF. An example
plugin which has some of the implementation you want is the logic plugin.
Generally, you will propably find GEF very lazy at the begining ,but as
you learn more thinks about this you will find it very simple.


"F
Re: entities with internal modeling area [message #175863 is a reply to message #175736] Wed, 06 April 2005 18:41 Go to previous message
Eclipse UserFriend
Originally posted by: flsobral.yahoo.com.br

It's exactly what I was looking for.
Thanks!
Previous Topic:How to change default SelectionTool cursor?
Next Topic:Moving bendpoints -- help!
Goto Forum:
  


Current Time: Wed Feb 08 07:43:05 GMT 2023

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

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

Back to the top