Analysis project data using plug-in

Developers can develop plug-in that can be integrated with SDE for Eclipse for extracting data from project. Developers may need an analysis of project data, e.g. how many diagrams are there? What are the packages in the project? Such analysis can be achieved by developing a plug-in.

September 23, 2009
User Rating: / 0
Views: 1,362
PDF Link Add comments
Edition: Community or above (Edition comparison)

  1. Develop plugin.
    develop plugin
  2. Go to ${working_dir_of_eclipse}/sde folder.
    go to sde folder
  3. Create a new folder "plugins".
    add plugins folder
  4. Place the plugin in the "plugins" folder.
    put plugin into plugins folder
  5. Make sure the files are places as
    ...
    plugins
      sample.plugin(${plugin_ID})
      plugin.xml
      classes
        sample (packages)
        ...
    

    make sure folder structure
  6. Start Eclipse and start SDE for Eclipse on your project.
    start sde ec
  7. Right-click on a diagram or an element, you will see a new menu item of the plugin.
    Note: SDE for Eclipse only supports plug-in on popup menu but not on toolbar/menu toolbar in Eclipse.
    select plugin in popup menu
  8. Select the menu item and you will see the estimation results of your project.
    show estimation results

Resources

  1. Sample Plug-in to analyze project data
  2. Plug-in User's Guide
  3. Plug-in API
  4. Other Plug-in Samples

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

You may be interested in

  1. Generate Java source from UML class diagram in SDE for Eclipse
  2. Hibernate in Eclipse
    Tagged:
  3. SDE-EC getting started
    Tagged:
  4. Reverse engineering sequence diagram from Java source code
  5. Impact analysis with analysis diagram
Tags of this article:

Comments (0)

Write comment

Rating

Comment

Enter the calculation result

security code