Wrapping a Swing App in a View
Create a view for your Swing app with all extension points and classes that views require. Complete all steps in Creating a Sample View.
After you create the view, you will add content to the createPartControl() method and make other code changes that are described in Extending the SwingControl Class.
In "Creating a Sample View," the sample view uses com.sabre.redapp.example.view.basic for the view ID and BasicViewPart for the class name.
In the sample Swing view, the view ID is com.sabre.redapp.example.swing.view , and the class name is SwingView .
If you want to use the SwingView class, you must import the com.sabre.redapp.example.swing sample plug-in into your project.
Afterwards, you must complete the steps in the following procedures: