<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Well, if you support both options, you'll still have to maintain the
template code if/when the API changes. If we leverage the Eclipse tool
to generate code directly from the interfaces, then the advantage is
that we get code that is compliant with the API. I know there's been
talk of significantly changing the API to rework capabilities, which is
why this comes to mind as a factor.<br>
<br>
The wizard could start with the auto-generated code, and add any "hello
world" code that might be appropriate. But that additional code would
then have to be maintained. What kind of extra code or functionality
did you have in mind here? If it's simple, adds usefulness, and is easy
to maintain, then perhaps it is a better option to just go with that in
a template.<br>
<br>
<br>
Ramesh Reddy wrote:
<blockquote cite="mid:1259711542.2921.186.camel@localhost.localdomain"
type="cite">
<pre wrap="">On Tue, 2009-12-01 at 15:12 -0800, Michael Walker wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I'm just referring to the "New Class" Wizard in Eclipse, which simply
takes the interface in the connector API from which to start, and
builds you skeleton code (screenshot below).
I'm guessing there's a way to leverage this programmatically when
building an Eclipse plugin?
</pre>
</blockquote>
<pre wrap=""><!---->
But the idea here is to give user some basic required code automatically
akin to "hello world". Also, this way we can make them use of some of
the base classes we have written on top of the Connector API.
Using like new class wizard can be done in any standard JAVA project,
since this is extension plugin is a of a JAVA project you can do this
anyways, at-least that is my understanding, right Sanjay?
May be we can provide check box to "generate sources" on the initial
wizard that will either generate from template or provide clean slate
for them to start. What do you think?
Ramesh..
</pre>
</blockquote>
<br>
</body>
</html>