Assuming I have some GUI Swing application (GUI JavaBean editor - some properties and some presentation of JavaBean), and I would like to convert this application to be an Eclipse plugin. Is there any feasible way to do this (I mean to convert existing Swing app to Eclipse plugin)? Can be Eclipse plugin written with Swing library? Or is there any "adapter" library to utilize existing Swing applications in Eclipse ?
Yes. You can use the Eclipse SWT_AWT
bridge to run Swing widgets within an Eclipse view or editor.
Another alternative might be to use SwingWT
which provides an implementation of Swing on top of SWT.
Yet another possibility would be to convert your Swing code into SWT code using the Swing to SWT (S2S)
conversion tool (I have not used this tool).