Description
Remove the redundant global OpenFastTrace scan menu and provide specialized run configuration templates to allow users to quickly set up common scanning scenarios.
Scope
- Remove the 'Trace Project' action and its associated 'OpenFastTrace' menu group from the IntelliJ 'Tools' menu.
- Introduce the following pre-configured run configuration templates in the 'Add New Configuration' menu:
- User requirements: Scans
doc/, excludes source directories, filters for artifact types: feat, req, scn, bconstr.
- Design and down: Scans
doc/, excludes source directories, filters for artifact types: feat, req, scn, bconstr, arch, dsn, constr, bld.
- Typical project: Scans
doc/ and all project source directories, with no artifact type filtering.
- Unfiltered: Scans the entire project (
.) with no filters.
- Ensure each template is discoverable as a sub-item under the 'OpenFastTrace' run configuration type.
Motivation
The current global 'Trace Project' menu is redundant and offers limited configuration. By integrating these scenarios directly into the IntelliJ run configuration mechanism as templates, users get a more discoverable and powerful way to start OpenFastTrace with the appropriate scope and filters for their current task.
Technical Notes
- Leverage the IntelliJ
ConfigurationFactory mechanism to provide multiple factories for the OftRunConfigurationType.
- Update
OftRunConfigurationFactory to support initialization with specific settings.
- Clean up
plugin.xml by removing the Oft.ToolsMenu action group.
Description
Remove the redundant global OpenFastTrace scan menu and provide specialized run configuration templates to allow users to quickly set up common scanning scenarios.
Scope
doc/, excludes source directories, filters for artifact types:feat, req, scn, bconstr.doc/, excludes source directories, filters for artifact types:feat, req, scn, bconstr, arch, dsn, constr, bld.doc/and all project source directories, with no artifact type filtering..) with no filters.Motivation
The current global 'Trace Project' menu is redundant and offers limited configuration. By integrating these scenarios directly into the IntelliJ run configuration mechanism as templates, users get a more discoverable and powerful way to start OpenFastTrace with the appropriate scope and filters for their current task.
Technical Notes
ConfigurationFactorymechanism to provide multiple factories for theOftRunConfigurationType.OftRunConfigurationFactoryto support initialization with specific settings.plugin.xmlby removing theOft.ToolsMenuaction group.