|
Re: org.eclipse.draw2d.examples? [message #156867 is a reply to message #156852] |
Thu, 04 November 2004 23:39 |
Pratik Shah Messages: 1077 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_000F_01C4C29D.A239AF80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Are you saying that you can't import AbstractExample? How are you =
trying to run SimpleTreeExample? If you're copying the code into your =
own plugin/project and trying to run from there, make sure your =
plugin.xml requires the org.eclipse.draw2d.examples project (or that =
that project is on the build path).
The easiest way to run the SmallTreeExample would be:
1) Right-click in Package Explorer, Import -> External Plugins and =
Fragments and import the org.eclipse.draw2d.examples plug-in.
2) Find SimpleTreeExample in the PackageExplorer, right-click and Run -> =
Java Application
<gresh@us.ibm.com> wrote in message news:cmdtna$1dv$1@eclipse.org...
I have GEF installed and successfully ran the Demo4 example. I am =
trying to run the SimpleTreeExample.java file, but am finding that I =
cannot=20
import org.eclipse.draw2d.examples.AbstractExample;=20
I've clearly got all the other draw2d stuff such as=20
import org.eclipse.draw2d.ColorConstants;=20
import org.eclipse.draw2d.IFigure;=20
import org.eclipse.draw2d.PositionConstants;=20
I am new to eclipse, but I whatever I used to search in the archive =
didn't turn up the answer (though it may well be in there). Where do =
these examples live?=20
Thanks=20
Donna
------=_NextPart_000_000F_01C4C29D.A239AF80
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.2800.1476" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Are you saying that you can't import=20
AbstractExample? How are you trying to run =
SimpleTreeExample? If=20
you're copying the code into your own plugin/project and trying to run =
from=20
there, make sure your plugin.xml requires the =
org.eclipse.draw2d.examples=20
project (or that that project is on the build path).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The easiest way to run the =
SmallTreeExample would=20
be:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>1) Right-click in Package Explorer, =
Import ->=20
External Plugins and Fragments and import the =
org.eclipse.draw2d.examples=20
plug-in.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>2) Find SimpleTreeExample in the =
PackageExplorer,=20
right-click and Run -> Java Application</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><<A href=3D"mailto:gresh@us.ibm.com">gresh@us.ibm.com</A>> =
wrote in=20
message <A=20
=
href=3D"news:cmdtna$1dv$1@eclipse.org">news:cmdtna$1dv$1@eclipse.org</A>.=
...</DIV><BR><FONT=20
face=3Dsans-serif size=3D2>I have GEF installed and successfully ran =
the Demo4=20
example. I am trying to run the SimpleTreeExample.java file, but am =
finding=20
that I cannot </FONT><BR><BR><FONT face=3Dsans-serif size=3D2>import=20
org.eclipse.draw2d.examples.AbstractExample;</FONT> <BR><BR><FONT=20
face=3Dsans-serif size=3D2>I've clearly got all the other draw2d stuff =
such=20
as</FONT> <BR><FONT face=3Dsans-serif size=3D2>import=20
org.eclipse.draw2d.ColorConstants;</FONT> <BR><FONT face=3Dsans-serif=20
size=3D2>import org.eclipse.draw2d.IFigure;</FONT> <BR><FONT =
face=3Dsans-serif=20
size=3D2>import org.eclipse.draw2d.PositionConstants;</FONT> =
<BR><BR><FONT=20
face=3Dsans-serif size=3D2>I am new to eclipse, but I whatever I used =
to search in=20
the archive didn't turn up the answer (though it may well be in =
there). Where=20
do these examples live?</FONT> <BR><BR><FONT face=3Dsans-serif=20
size=3D2>Thanks</FONT> <BR><FONT face=3Dsans-serif=20
size=3D2>Donna</FONT></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_000F_01C4C29D.A239AF80--
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06122 seconds