Enterprise Architect version 13.5

download
purchase

enzh-CNcsnlfrdehiiditkoplptruskessv

My Profile

Social Media Channels

facebook google plus twitter youtube linkedin

Wednesday, 23 January 2013 13:37

Do Androids dream of UML models?

Written by 

Reverse Engineering the Android SDK with Enterprise Architect

Recently one of our Senior Conulstants here at DT (Colin Coates) thought it would interesting to use Enterrprise Architect to reverse engineer the Android version 1.6 SDK (as used in the brilliant Google Nexus 7 tablet) into a UML model.

He started the process by clicking the menu:

Tools > Source Code Engineering > Import Source directory…

Colin then used the following settings in the Import Source Directory (dialog) window:

  • Source Type = Java (of course!)
  • Recursively Process Subdirectories
  • Create Logical Diagram for Each Package
  • Create Package per Namespace (in the Package Structure radio-button group)
  • Synchronize existing classes (in the Synchronization radio-button group)
  • Prompt for action (in the Remove Classes not found in code radio-button group)

You can see the results for yourself by viewing the default model report in HTML format, or by downloading the complete model and viewing it in Sparx Enterprise Architect.

The UML model and diagrams (including their layout), are presented exactly as created by the automated import process.

Enjoy! ;)

Read 6238 times
Rate this item
(0 votes)
DT_Sam

Sam Nice

Dunstan Thomas Consulting

More in this category: Colour your Knowledge »
Login to post comments