Refresh Class List for Java Instant Reverse

Written Date: September 4, 2006
User Rating: / 0 Hits: 1,499
Add your comment

Java Instant Reverse, a feature provided by Visual Paradigm for UML and Smart Development Environment. It allows to reverse existing Java application into class model by given source, class, zip or jar. The below steps are describing how to reverse Java into class model.

Define Java Resource

Before reverse Java into class model, Java Resource should be defined. For defining Java Resource, several ways are provided.
1.  Open Instant Reverse Dialog
  • Define Java Resource from Toolbar.
  • Define Java Resource from Class Repository.
  • 2. After opening Instant Reverse Dialog, click Java Source Folder... for defining Java Resource by using Java Source Folder.
    3. Click OK to define Java Resource.

    Reverse into Model

    After defining Java Resource, all corresponding Java Resources are shown in Class Repository. It is allowed to select part of Java Resources and reverse them into model.
    1.  Select and right-click Java Resources for showing popup menu. In popup menu, select Reverse "Resources" to and click Class Repository to reverse those selected Java Resources into class model.
    2. Selected Java Resources are reversed into class model.

    Change reference in file system

    For those Java Resources, it is only a reference to the file system. Changes in file system are allowed.
    The below images show add and delete operations to change referenced file system before performing the operations.
    After performing add and delete operations, the referenced file system will be shown as below.

    Refresh (tree) in Class Repository

    Once the file system are changed and refreshed Class Repository, the tree in Class Repository is updated as same as file system.
    1.  The test package will be removed as same as referenced file system after Refresh.
    2. In Class Repository, press F5 or click Refresh for refreshing the tree.
    3. Java Resource are updated. (test package is removed and UI package is added)

    Update Class Repository

    The Class Repository can be update by reverse again.
    1.  Select and right-click Java Resources for showing popup menu. In popup menu, select Reverse "Resources" to and click Class Repository to reverse those selected Java Resources into class model.
    2. Class Repository is updated. (UI package is reversed also)

    Samples

    Click on the link below to download:
    • The example Java Resource.
    refreshinstantreverseitems_source.zip

    Resources

    • Visual Paradigm for UML Home
    http://www.visual-paradigm.com/product/vpuml/
    • DB Visual ARCHITECT
    http://www.visual-paradigm.com/product/dbva/
    •  SDE Home
    http://www.visual-paradigm.com/product/sde/
    • Download Free Community Edition of Visual Paradigm for UML
    http://www.visual-paradigm.com/product/vpuml/vpumldownload.jsp?edition=ce
    • Download DB Visual ARCHITECT
    http://www.visual-paradigm.com/product/dbva/dbvadownload.jsp
    • Download SDE
    http://www.visual-paradigm.com/download/download.jsp?product=sde&edition=ce
    Software Maintenance VP-UML User's Guide

    Rate this Article

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

    Comments (0)

    Write comment

    Rating

    Comment

    Enter the calculation result

    security code