Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to embedd a TreeViewer in a Dialogbox ?
How to embedd a TreeViewer in a Dialogbox ? [message #236923] Thu, 12 July 2007 22:46 Go to next message
Dinesh Kumar is currently offline Dinesh KumarFriend
Messages: 9
Registered: July 2009
Junior Member
This is a multipart message in MIME format.
--=_alternative 007D1FC804257316_=
Content-Type: text/plain; charset="US-ASCII"

Hi,
I am sort of new to eclipse and gef. I would like to embedd a
TreeViewer
with its own ContentProvider and LabelProvider inside a dialog box so that
a user
may view the contents of an EMF model....

How to go about this? Any clues from someone?

Regards,
Dinesh

--=_alternative 007D1FC804257316_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; I
am sort of new to eclipse and gef. I would like to embedd a TreeViewer</font>
<br><font size=2 face="sans-serif">with its own ContentProvider and LabelProvider
inside a dialog box so that a user</font>
<br><font size=2 face="sans-serif">may view the contents of an EMF model....</font>
<br>
<br><font size=2 face="sans-serif">How to go about this? Any clues from
someone?</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">Dinesh</font>
<br>
--=_alternative 007D1FC804257316_=--
Re: How to embedd a TreeViewer in a Dialogbox ? [message #236957 is a reply to message #236923] Mon, 16 July 2007 15:55 Go to previous message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_01E1_01C7C7A0.43767540
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

You may want to ask the EMF newsgroup, but you answered you own question =
already:

Create a TreeViewer widget in the dialog and create custom own =
ContentProvider and LabelProvider that get the data from the EMF model.

The EMF example editor shows you how to do this.

Cheers...
Anthony
<kumardi@us.ibm.com> wrote in message =
news:f76b0j$lmb$1@build.eclipse.org...

Hi,=20
I am sort of new to eclipse and gef. I would like to embedd a =
TreeViewer=20
with its own ContentProvider and LabelProvider inside a dialog box so =
that a user=20
may view the contents of an EMF model....=20

How to go about this? Any clues from someone?=20

Regards,=20
Dinesh=20

------=_NextPart_000_01E1_01C7C7A0.43767540
Content-Type: text/html;
charset="iso-8859-1"
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-1">
<META content=3D"MSHTML 6.00.2900.3132" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>You may want to ask the EMF newsgroup, =
but you=20
answered you own question already:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Create a TreeViewer widget in the =
dialog and create=20
custom own ContentProvider and LabelProvider that get the data from the =
EMF=20
model.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The EMF example editor shows you how to =
do=20
this.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Cheers...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Anthony</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>&lt;<A =
href=3D"mailto:kumardi@us.ibm.com">kumardi@us.ibm.com</A>&gt; wrote=20
in message <A=20
=
href=3D"news:f76b0j$lmb$1@build.eclipse.org">news:f76b0j$lmb$1@build.ecli=
pse.org</A>...</DIV><BR><FONT=20
face=3Dsans-serif size=3D2>Hi,</FONT> <BR><FONT face=3Dsans-serif =
size=3D2>&nbsp;=20
&nbsp; &nbsp; &nbsp; I am sort of new to eclipse and gef. I would like =
to=20
embedd a TreeViewer</FONT> <BR><FONT face=3Dsans-serif size=3D2>with =
its own=20
ContentProvider and LabelProvider inside a dialog box so that a =
user</FONT>=20
<BR><FONT face=3Dsans-serif size=3D2>may view the contents of an EMF=20
model....</FONT> <BR><BR><FONT face=3Dsans-serif size=3D2>How to go =
about this?=20
Any clues from someone?</FONT> <BR><BR><FONT face=3Dsans-serif=20
size=3D2>Regards,</FONT> <BR><FONT face=3Dsans-serif =
size=3D2>Dinesh</FONT>=20
<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_01E1_01C7C7A0.43767540--
Previous Topic:How to add a Text Editing tool?
Next Topic:How to initializing the 'Model' of 'M-V-C'
Goto Forum:
  


Current Time: Fri Mar 29 08:41:56 GMT 2024

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

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

Back to the top