Vendor Specific JAD Attributes
Identifier:
org.eclipse.mtj.core.jadattributes
Since:
1.0
Description:
Provides an extension point to add the some JAD attributes.
Configuration Markup:
<!ELEMENT extension (
jadAttributes)>
<!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 jadAttributes (
jadDescriptorsProvider)+>
<!ATTLIST jadAttributes
pageID CDATA #REQUIRED
>
-
pageID - indicate which JAD editor page the attributes will be shown.
currently, there are 3 pages you can add:
Page name:Required, pageID:required
Page name:Optional, pageID:optional
Page name:Over the Air, pageID:ota
<!ELEMENT jadDescriptorsProvider EMPTY>
<!ATTLIST jadDescriptorsProvider
class CDATA #REQUIRED
>
-
class - the required implementation class for the
org.eclipse.mtj.ui.jadEditor.IJADDescriptorsProvider
interface that will be used to provide JAD Attributes descriptors.
Examples:
An extension example that add some JAD attributes to the Overview page:
<extension
point=
"org.eclipse.mtj.core.jadattributes"
>
<jadAttributes pageID=
"overview"
>
<jadDescriptorsProvider
class=
"org.eclipse.mtj.internal.ui.editors.jad.form.pages.RequiredJADDesciptorsProvider"
/>
</jadAttributes>
</extension>
An extension example that add some motorola specific JAD attributes to the OTA page:
<extension
point=
"org.eclipse.mtj.core.jadAttributes"
>
<jadAttributes pageID=
"motoSpecific"
>
<jadDescriptorsProvider
class=
"org.eclipse.mtj.examples.jadextension.MotoJADDesciptorsProvider"
/>
</jadAttributes>
</extension>
Supplied Implementation:
MTJ provides the "Required", "Optional" and "OTA" atributes implementations for the
jadattributes
E.P., available in the
org.eclipse.mtj.ui
plug-in.
Copyright (c) 2008,2009 Sybase 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 https://www.eclipse.org/legal/epl-v10.html