Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Extension Point Schema Changes - ACTION REQUIRED/REQUISE


I have updated the following helvetic plugins:

org.eclipse.core.expressions
org.eclipse.core.expressions.tests
org.eclipse.jdt.junit
org.eclipse.jdt.ui
org.eclipse.ltk.core.refactoring
org.eclipse.ltk.ui.refactoring

Martin has updated search.

Markus



Wassim Melhem <wassimm@xxxxxxxxxx>
Sent by: eclipse-dev-admin@xxxxxxxxxxx

2004-11-16 11:03

Please respond to
eclipse-dev@xxxxxxxxxxx

To
eclipse-dev@xxxxxxxxxxx
cc
Subject
[eclipse-dev] Extension Point Schema Changes - ACTION REQUIRED/REQUISE









The PDE team would like to kindly ask all teams, from Beaverton to
Confederation Helvetica, to revisit their extension point schemas and make
use of the new important properties that will be available as of today's
I-build.

Exempt from this effort is the SWT team as they do not contribute extension
points to the SDK.

Untranslated attributes in the plugin.xml files are difficult to spot,
given the size of these files and the inability of the chkpii tools to zero
in on these attributes accurately.

To address this issue, PDE has introduced new support in the extension
point schemas to mark attributes and non-empty elements as 'translatable'.
For all translatable attributes and elements, PDE will do a
two-verification step when validating the plugin.xml file:
1. It will ensure that the value starts with %
2. It will ensure that the key in the plugin.xml actually exists in the
plugin.properties files of the plug-in.

For attributes that are not translatable, eg. ones that denote an id, etc,,
do NOTHING as the default is FALSE.
Much like in the case of the JDT compiler settings, the flag for 'usage of
non-externalized strings' will be set to IGNORE by default.
This new 'translatable' property is vital as it will also be used to guide
PDE when we provide an 'externalize strings' action for plugin.xml files in
the future.


The other property that was also added is a 'Deprecated' property used to
mark attributes/elements that have become deprecated over time.  There are
not too many of those in the SDK.
I think only the Platform/UI team has a few of these.  Please mark these
attributes/elements appropriately in the schemas.

Note that while the changes are TRIVIAL, every schema in the SDK is
affected and has to be visited since at minimum, the 'name' attribute of
the top-level <extension> element will have to be marked as 'translatable'.

The Platform/UI and the Debug/Ant teams will be the busiest as together
they contribute > 50% of the world's extension points (and > 60% of the
world's cocoa, I think :-)

Please plan on making these changes at your earliest convenience.

Thank you,

Wassim.

_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://dev.eclipse.org/mailman/listinfo/eclipse-dev


Back to the top