Plugin « Interoperability « Java Swing Q&A





1. SWT or Swing for Plugin Project    stackoverflow.com

I'm creating a plugin project that will have a menu and toolbar item, that when clicked, will open a dialog for user interaction (input, searching, etc.). Should I create the ...

2. Eclipse plugin development problem    stackoverflow.com

In my eclipse plugin project, I use swt-awt bridge to make my swing JFrame in a multipage editor. There are some buttons in this swing JFrame will create a pop up ...

3. Adding Swing components to Eclipse RCP plugin    stackoverflow.com

I'm having trouble embedding Swing components inside SWT (such as eclipse plugin..) Currently what I have:

 public void createPartControl(Composite parent) {
  java.awt.Frame f = SWT_AWT.new_Frame(parent);
  JPanel panel = new JPanel(new ...

4. need help getting started on simple Eclipse wizard / plugin    stackoverflow.com

I have written some Java classes that do something useful. I'd like to wrap the functionality in a simple Eclipse plugin. Basically you'd right-click on an object, click the ...

5. unable to setFocus in SWT fields in eclipse plugin..plz help    coderanch.com

Hi i have created a Eclipse plug-in containing a form-fields based editor (i.e, a custom editor for my xml made up of comboboxes & textfiedls). The screen has few mandatory fields, on save i check for mandatory fields and pop up appropritate error message, After this i need to set the focus on appropritate field. I have used .setFocus() method for ...

6. eclipse SWT/Plugin Problem    coderanch.com

We developed a plugin with views in Windows xp machine and loaded the same plugin in other Windows machine. It looked fine. When I tried to open the plugin in Linux machine, the GUI is not getting displayed as such in Windows machine, overlapping of groups occur. The resolution in both windows and linux machine we are using are 1024 by ...

7. SWT/Eclipse: Getting Installed Plugins from Eclipse Manage Configuration    coderanch.com

I need to pull back the list of files from - Help > Software Updates > Manage Configuration. Right now I am using public String[][] getInstalled() { Bundle[] bundles = context.getBundles(); String[][] b = new String[bundles.length][2]; int i = 0; while(i < bundles.length) { //Bundle-Name,Bundle-SymbolicName, Bundle-Version b[i][0] = bundles[i].getHeaders().get("Bundle-SymbolicName").toString(); b[i][1] = bundles[i].getHeaders().get("Bundle-Version").toString(); i++; } return b; } to get all the ...