3

From the very helpful templates I´ve got some controls. But how do I discover where those controls are located.

For example I know how to create a label or a button but how can I find a checkbox or add a browser to a button a List Box ...

Isn´t there any documentation where a developer can find those things?

Nautis
  • 157
  • 1
  • 10

2 Answers2

1

You could use the Plugin Spy to see how those control are referenced in other plugins, in order to replicate that in your own plugins.

plugin spy

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Very good hint, thanks! Isn´t there any further documentation? If I´d like to get a checkbox control I can´t get the information about it with the plugin spy because it´s only for the eclipse UI not for Submenus like new project editors. – Nautis Sep 05 '11 at 09:40
  • @Nautis: you can start be reusing existing template, as described in http://www.vogella.de/blog/2011/01/13/eclipse-papercut-7-adding-the-pde-plugin-creation-wizard-to-the-eclipse-toolbar/ – VonC Sep 05 '11 at 10:23
0

For example I know how to create a label or a button but how can I find a checkbox or add a browser to a button a List Box ...

A checkbox is a Button with the SWT.CHECK style.

Isn't there any documentation where a developer can find those things?

I bought an SWT book. The Definitive Guide to SWT and JFace.

Gilbert Le Blanc
  • 50,182
  • 6
  • 67
  • 111