EclipseRCPアプリケーションの拡張ポイントをいくつかの属性で定義しています。これらの属性の1つは文字列であり、最大3つの英字が必要です。
現時点では、次の定義があります。
<element name="type">
<complexType>
<attribute name="type_identifier" type="string" use="required">
<annotation>
<documentation>
Dieser String sollte noch auf maximal 3 Zeichn begrenzt werden
</documentation>
</annotation>
</attribute>
</complexType>
</element>
エディターを介して追加できるのはenum-restrictionsのみで、xml-sourceに次のように表示されます。
<restriction base="string">
<enumeration value="blubb">
</enumeration>
</restriction>
しかし、私が欲しいのは次のようなものです。
<restriction base="string">
<pattern value="[A-Z]{3}">
</pattern>
</restriction>
このパターン通知を拡張ポイントに使用できますか?現時点では設定をテストできないため、単に「試してみる」ことはできません。