Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » swtrenderer
swtrenderer [message #26560] Mon, 15 August 2005 14:28 Go to next message
Eclipse UserFriend
Originally posted by: newshuntertr.hotmail.com

what is this swtrenderer?
i installed tptp plugin.what import must i use?

http://www.eclipse.org/tptp/platform/documents/design/Charti 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 #26907 is a reply to message #26560] Mon, 22 August 2005 14:23 Go to previous message
Sheldon Lee-Loy is currently offline Sheldon Lee-LoyFriend
Messages: 48
Registered: July 2009
Member
This is a multipart message in MIME format.
--=_alternative 004F0DBB85257065_=
Content-Type: text/plain; charset="US-ASCII"

Hi,

The code example is not right. The class should be called "
rg.eclipse.tptp.platform.report.core.provisional.SWTGraphicV 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>
<br><font size=2 face="sans-serif">The code example is not right. &nbsp;The
class should be called &quot;</font><font size=3> rg.eclipse.tptp.platform.report.core.provisional.SWTGraphicV 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:error starting agent on linux
Next Topic:Eclipse slows down while/after profiling code
Goto Forum:
  


Current Time: Fri Mar 29 14:06:12 GMT 2024

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

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

Back to the top