|
Re: execution control with a forms-based editor ? [message #177014 is a reply to message #176921] |
Fri, 27 October 2006 13:51 |
Eclipse User |
|
|
|
Originally posted by: wayne.beaton._NOSPAM_eclipse.org
Kristof Szabados wrote:
> I hope this is the right place to ask this.
>
> I wish to create a "program" inside eclipse that allows setting important
> parameters to configure the running of a script.
> But I also wish to have the execution of the script controlled from there
> (start / stop / pause / resume).
>
> Which is the best way to start building such a tool?
> Should I create a forms-based editor and try to do the execution control in
> the background?
> Or should I create a launcher equiped with a forms-based editor (if that is
> possible somehow)?
>
> This would be something like when program are run in debug mode, but with
> special UI (and there is not need for actual debugging, just the start /
> stop / pause / resume buttons).
> The codes for executing the commands is already done.
>
> Does anyone have examples on how to create such a plug-in?
It sounds like you're starting in the deep end.
I'm not sure if I understand enough about what you're trying to do.
However, you might consider flipping through the Eclipse FAQs:
http://wiki.eclipse.org/index.php/The_Official_Eclipse_FAQs# Implementing_Support_for_Your_Own_Language
The Eclipse Corner Articles may offer some help on specific tasks as
well, but I'm not sure what specifically to point you to.
http://www.eclipse.org/articles
You might also want to take a look at the "Eclipse Monkey" project,
which provides JavaScript scripting inside the running Eclipse workbench.
http://www.eclipse.org/dash/
HTH
Wayne
|
|
|
Re: execution control with a forms-based editor ? [message #177078 is a reply to message #177014] |
Fri, 27 October 2006 16:38 |
Kristof Szabados Messages: 82 Registered: July 2009 |
Member |
|
|
Well basically I would like to run a script in a special environment.
The script could be edited on-the-fly.
The running could be paused / resumed / stopped.
But I also would like to create a nice interface, like JUnit has for
creating the testsuits.
Well to sum it up, how should I start If I want to create JUnit's testsuit
creator editor, with running capabilities?
Should I start with a forms based editor, on which there are special buttons
(start / pause / resume /stop),
or should it be a launcher - runner somehow equiped with a nice UI ?
I don't know maybe both ways lead to the same destination, or maybe one is
not possible.
For this reason I'm trying to collect information.
So that for example if the second way is not possible, than I shouldn't
start developing on that route.
Or there might be an other, better way to do this, but somehow I couldn't
find good examples, tutorials, articles.
Kristof
"Wayne Beaton" <wayne.beaton@_NOSPAM_eclipse.org> wrote in message
news:45420EF4.2020503@_NOSPAM_eclipse.org...
> Kristof Szabados wrote:
> > I hope this is the right place to ask this.
> >
> > I wish to create a "program" inside eclipse that allows setting
important
> > parameters to configure the running of a script.
> > But I also wish to have the execution of the script controlled from
there
> > (start / stop / pause / resume).
> >
> > Which is the best way to start building such a tool?
> > Should I create a forms-based editor and try to do the execution control
in
> > the background?
> > Or should I create a launcher equiped with a forms-based editor (if that
is
> > possible somehow)?
> >
> > This would be something like when program are run in debug mode, but
with
> > special UI (and there is not need for actual debugging, just the start /
> > stop / pause / resume buttons).
> > The codes for executing the commands is already done.
> >
> > Does anyone have examples on how to create such a plug-in?
>
> It sounds like you're starting in the deep end.
>
> I'm not sure if I understand enough about what you're trying to do.
> However, you might consider flipping through the Eclipse FAQs:
>
>
http://wiki.eclipse.org/index.php/The_Official_Eclipse_FAQs# Implementing_Support_for_Your_Own_Language
>
> The Eclipse Corner Articles may offer some help on specific tasks as
> well, but I'm not sure what specifically to point you to.
>
> http://www.eclipse.org/articles
>
> You might also want to take a look at the "Eclipse Monkey" project,
> which provides JavaScript scripting inside the running Eclipse workbench.
>
> http://www.eclipse.org/dash/
>
> HTH
>
> Wayne
|
|
|
Re: execution control with a forms-based editor ? [message #177139 is a reply to message #177078] |
Fri, 27 October 2006 17:41 |
Eclipse User |
|
|
|
Originally posted by: wayne.beaton._NOSPAM_eclipse.org
Kristof Szabados wrote:
> Well basically I would like to run a script in a special environment.
>
> The script could be edited on-the-fly.
> The running could be paused / resumed / stopped.
>
> But I also would like to create a nice interface, like JUnit has for
> creating the testsuits.
>
> Well to sum it up, how should I start If I want to create JUnit's testsuit
> creator editor, with running capabilities?
> Should I start with a forms based editor, on which there are special buttons
> (start / pause / resume /stop),
> or should it be a launcher - runner somehow equiped with a nice UI ?
>
> I don't know maybe both ways lead to the same destination, or maybe one is
> not possible.
> For this reason I'm trying to collect information.
> So that for example if the second way is not possible, than I shouldn't
> start developing on that route.
>
> Or there might be an other, better way to do this, but somehow I couldn't
> find good examples, tutorials, articles.
>
> Kristof
You might consider starting with the JUnit support provided with
Eclipse. Start with the source code for Eclipse itself. In their book,
"Contributing to Eclipse", the authors go through the process of
creating the JUnit support. This might be useful to you.
Wayne
|
|
|
Powered by
FUDForum. Page generated in 0.08119 seconds