FAQ relative alla migrazione dei plugin di Eclipse 3.2

  1. Azione legacy senza etichetta
  2. Usage of IDs with dots (".") in Extension Points, Extensions, and Content Types

Azione legacy senza etichetta

Se si utilizzano punti di estensione basati su azioni, è possibile specificare un definitionId o una label non vuota. Se non si riesce ad eseguire queste impostazioni, è possibile che la categoria "Uncategorized" contenga comandi chiamati "Azione legacy senza etichetta". Possono essere visualizzati nella pagina delle preferenze Tasti. Un avviso verrà stampato nel log.

In 3.2, tutte le azioni vengono convertite in comandi quando il registro viene analizzato. Di conseguenza, verranno generati dei comandi per le azioni senza ID di definizione. Questo comando ha bisogno di un'etichetta, che generalmente viene trascinata dall'etichetta all'azione. Se vengono visualizzate delle azioni nella barra degli strumenti, molto probabilmente non è stata specificata né una definizione né un'etichetta.

Usage of IDs with dots (".") in Extension Points, Extensions, and Content Types

In the past, IDs specified for extension points, extensions, and content types were expected to be "simple IDs" with no dots in them (e.g., "myPoint", not "my.Point", not "myPlugin.myPoint"). This rule was specified, but not enforced.

In the release 3.2 we added processing of fully-qualified IDs (e.g., "org.eclipse.myPlugin.myPoint"). However, it turned out that some components had previously used IDs with dots and the change broke functionality provided by those components. To preserve backward compatibility for IDs of extension points and extensions, we added special processing based on the version of the XML file:

Details can be found in the bug 128866.

We recommend switching to the 3.2 format as the usage of IDs with dots was never intended to be supported in the 3.0 format. (Simply put, there is no guarantee that it works in all cases today or that it will work the same tomorrow.)

This processing of the <?eclipse version> tag applies to IDs of extension points and extensions, but not to the IDs of content types (see bug 139491).