Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » swtrenderer
swtrenderer [message #459753] Mon, 15 August 2005 14:28 Go to next message
Eclipse UserFriend
Originally posted by:

what is this swtrenderer?
i installed tptp plugin.what import must i use? ngService/tasks/tswgemb.html

public void createPartControl(Composite parent) {
FileInputStream inputStream = new FileInputStream(new File("chart.xml"));
IChart chart = SerializerImpl.instance().read(inputStream);
// create a new SWT Chart viewer
IRenderer renderer = new SWTRenderer(parent, SWT.DIALOG_TRIM|SWT.RESIZE );
Generator.instance().run(renderer, chart)


-News Hunter-

Re: swtrenderer [message #460172 is a reply to message #459753] Mon, 22 August 2005 14:23 Go to previous message
Sheldon Lee-Loy is currently offline Sheldon Lee-LoyFriend
Messages: 48
Registered: July 2009
This is a multipart message in MIME format.
--=_alternative 004F0DBB85257065_=
Content-Type: text/plain; charset="US-ASCII"


The code example is not right. The class should be called " iewer " not
"SWTRenderer". Thanks for bringing this to my attention I will need to
fix this error.
--=_alternative 004F0DBB85257065_=
Content-Type: text/html; charset="US-ASCII"

<br><font size=2 face="sans-serif">Hi, </font>
<br><font size=2 face="sans-serif">The code example is not right. &nbsp;The
class should be called &quot;</font><font size=3> iewer&quot;
not &quot;SWTRenderer&quot;. &nbsp;Thanks for bringing this to my attention
I will need to fix this error.</font>
--=_alternative 004F0DBB85257065_=--
Previous Topic:Tree Widget Size
Next Topic:How to disable TableItem
Goto Forum:

Current Time: Fri Apr 23 15:28:08 GMT 2021

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

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

Back to the top