When you have an existing Android project in Eclipse, you
can import your code files into IBM® Rational® Rhapsody® to
allow visualization of your current application and the addition of
new model elements.
Before you begin
These steps assume that you have installed the
Rational Rhapsody plug-ins
for Eclipse that allow you to use
Rational Rhapsody's
modeling features within Eclipse.
Procedure
- Create a new Rational Rhapsody Java
project in Eclipse, or select an existing Rational Rhapsody Java
project in Eclipse and make it the active project.
- Select the Android project you would like to import into Rational
Rhapsody.
- Open the pop-up menu for the Android project, and select
Export...
- In the Export window, select Rhapsody
Model and then click Next. The Export to
Rhapsody Model window is displayed.
- Click Finish. The Android project is now
associated with the Rational Rhapsody project
and all code files have been imported into the Rational Rhapsody model.
In addition to the elements representing your code files, the Rational Rhapsody model
contains: