On Wed, Jul 21, 2010 at 1:20 PM, Vlad Dumitrescu <vladd...@gmail.com> wrote:
> On Wed, Jul 21, 2010 at 17:26, Piotr Dorobisz
> <piotr.dorob...@erlang-solutions.com> wrote:
> > Today I've been thinking about different ways of configuring tracing. I
> think that it doesn't make sense to create extra launch configuration
> because Erlang is different than Java. I mean that if you want to trace node
> you can always connect to it without stopping it first and recompiling with
> special options or whatever. I thought that we could add two new views:
> > 1. View containing control panel using which user could define filters.
> For example there could be such widgets as:
> > - edit field for editing tracing patterns
> > - list of patterns which are being used
> > - buttons for adding and deleting patterns from list
> > 2. View containing sequence diagram
> > To make it more useful I could create new perspective which would contain
> those views.
> > And now, whenever user decides to trace running program he/she just
> inputs new filters and that's all. Does it make sense?:)
>
> Seems like a good idea.
>
> > Btw, I'm rather new to plugin development so I'd like to ask something:
> as I wrote before I'd like to create some kind of control panel with widgets
> like buttons, text fields, lists etc. But is it possible to create an
> eclipse view with such elements? I suppose I should use JFace, am I right?
> Are there any good examples for it?
>
> It depends. JFace only covers some widget types, otherwise you need to
> go with SWT.
>
Eclipse Platform Plug-in Programmers Guide has guidance on JFace UI and the
workbench UI in general:
http://help.eclipse.org/galileo/index.jsp?nav=/2_0
Based on my experience you can usually get a View with menus and a toolbar
very easily into the workbench, but you'll need GEF or SWT to do more
graphical things within the View.
The more you stick to JFace where possible the easier and more portable your
code will be. It does a lot more management for you when it comes to
platform issues.
Examples are at
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets.
> Some introduction at
>
> http://www.ibm.com/developerworks/views/opensource/libraryview.jsp?search%5Fby=gentle+introduction+swt+jface
> .
>
> regards,
> Vlad
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel