Changing the default for extracting C/C++ modeling elements

You can change the default for classifiers in C/C++ modeling diagrams when you extract elements from files.
Note: These settings affect only new classifiers that you add to a class diagram and do not affect any existing classifiers.
Changing the default for extracting C/C++ modeling elements:
  1. Click Window > Preferences.
  2. In the Preferences window, expand Modeling and click C/C++ Modeling.
  3. On the C/C++ Modeling page, under When extracting elements from a C/C++ file (to add to a diagram or harvest) extract:, clear the Both the file and the elements declared in the file check box and select either the Only the file element or the Only the elements declared in the file check boxes.
  4. Click OK.
Related concepts
Attributes
Operations in UML class diagrams
Visibility
Related tasks
Setting the default to show parent names
Changing the default for showing attribute and operation compartments
Changing the default visibility style for attributes and operations
Changing the default visibility style for C/C++ stereotypes
Changing the default for C/C++ modeling related elements

Feedback