osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
36 stars 8 forks source link

AADL Navigator sorting is inconsistent #1608

Closed philip-alldredge closed 5 years ago

philip-alldredge commented 5 years ago

Summary

When working in a new workspace, the order of items in the AADL Navigator changed when I performed a rename operation.

Expected and Current Behavior

The ordering of the items in the AADL Navigator should be predictable.

Steps to Reproduce

  1. Create new workspace.
  2. Create AADL project
  3. Expand AADL project. Referenced Projects and Plug-in Contributions are visible.
  4. Create new package. Package is sorted before Referenced Projects and Plug-in Contributions.
  5. Perform an operation that causes a resort such as selecting the project and refreshing or renaming a resource. AADL package is sorted last.

Environment

Before:

sorting_before

After:

sorting_after

philip-alldredge commented 5 years ago

Additionally, renaming a file causes the file to be sorted above the other entries. For example. I renamed test.aadl_diagram and hardware.aadl_diagram in the following screenshot.

diagrams