Annotations Tag Set
Identifier:
org.eclipse.jst.common.annotations.controller.AnnotationTagSet
Since:
This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Description:
Allows clients to define a tag set for an annotation
tag. A tag set named X would contain all of the tags that
look like @X.tag
. So the ejb
tag set would contain the @ejb.bean
tag,
the @ejb.persistence
tag, the @ejb.pk
tag, etc...
Configuration Markup:
<!ELEMENT extension (AnnotationTagSet+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT AnnotationTagSet EMPTY>
<!ATTLIST AnnotationTagSet
name CDATA #REQUIRED
displayName CDATA #IMPLIED
description CDATA #IMPLIED
parentTagset CDATA #IMPLIED
validValuesHelper CDATA #IMPLIED>
- name - Name of the tagset. The name for the tagset that contains the
@ejb.bean
tag would be ejb
.
- displayName - The text of the display name for the tag, or a resource
key pointing to the localized display name inside of the
declaring plugin's resource bundle.
- description - A description of the tag set. Can be the text of the
description, or a key for the declaring plugin's resource bundle that points to the localized text for the tag set description.
- parentTagset - This can be used optionally to set a tagset as a parent to this one, which will enforce the parent as a prerequisite tag set which will be handled first.
- validValuesHelper - This can be used optionally to add a programmatic dynamic helper to supply the user with a set of valid values for attributes in this tag set, depending on attribute selection.
Copyright (c) 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html