Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

CDT/Obsolete/ScannerDiscovery61/Design

< CDT‎ | Obsolete‎ | ScannerDiscovery61
Revision as of 11:03, 21 June 2013 by Angvoz.dev.gmail.com (Talk | contribs) (Diagram)

Diagram

The implementation follows this design more or less:
ScannerDiscoveryClassDiagram.png

Extension Points

  1. A language settings provider is defined with extension point org.eclipse.cdt.core.LanguageSettingsProvider:
    LanguageSettingsProviderExtensionPoint.png

  2. In order to get providers created for new projects with New Project Wizard - use org.eclipse.cdt.managedbuilder.core.buildDefinitions extension point to associate the provider with your project type. Specify attribute "languageSettingsProviders" for element "configuration" or "toolchain".
  3. There is one more extension point org.eclipse.cdt.ui.LanguageSettingsProviderAssociation. You can define there a custom icon, allow or disallow editing in UI and provide a custom page for editing options in Options pane.

Screenshot

AG: This is how project properties settings scanner discovery tab might've looked. The page is possibly too overloaded though. NewScannerDiscoveryTab.png

Back to the top