Chapter 16 Working with VB .NET


Selecting VB .NET reverse engineering options

You define the following VB .NET reverse engineering option from the Reverse Engineer VB .NET dialog box:

Option Result of selection
File encoding Allows you to modify the default file encoding of the files to reverse engineer
Ignore operation body Reverses classes without including the body of the code
Ignore comments Reverses classes without including code comments
Create Associations from classifier-typed attributes Creates associations between classes and/or interfaces
Create symbols Creates a symbol for each object in the diagram, if not, reversed objects are only visible in the browser
Libraries Specifies a list of library models to be used as references during reverse engineering.

The reverse engineered model may contain shortcuts to objects defined in a library. If you specify the library here, the link between the shortcut and its target object (in the library) will be preserved and the library will be added to the list of target models in the reverse engineered model.

You can drag and drop the libraries in the list in order to specify a hierarchy among them. PowerDesigner will seek to resolve shortcuts found in the reverse engineered model against each of the specified libraries in turn. Thus, if library v1.1 is displayed in the list above library v1.0, PowerDesigner will first attempt to resolve shortcuts against library v1.1 and will only parse library v1.0 if unresolved shortcuts remain.

You should use the List of Target Models to manage libraries related to the reverse engineered model, for example, you can change the library version. See " Using the list of target models" in the "Managing Shortcuts" chapter in the General Features Guide .
Preserve file structure Creates an artifact during reverse engineering in order to be able to regenerate an identical file structure
Mark classifiers not to be generated Reversed classifiers (classes and interfaces) will not be generated from the model. To generate the classifier, you must select the Generate check box in its property sheet

Steps To define VB .NET reverse engineering options:

  1. Select Language→Reverse Engineer VB .NET.
  2. Click the Options tab to display the Options tab.
  3. Select or clear reverse engineering options.
  4. Browse to the Library directory, if required.
  5. Click Apply and Cancel.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.