Konfiguration af attribut for inkluderingssti
Id:
org.eclipse.wst.jsdt.ui.classpathAttributeConfiguration
Fra:
3.3
Beskrivelse:
Dette udvidelsespunkt giver mulighed for at angive, hvordan leverede attributter for inkluderingssti præsenteres og konfigureres.
Konfigurationskode:
<!ELEMENT extension (classpathAttributeConfiguration+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
- point - en fuldstændig id for måludvidelsespunktet.
- id - en valgfri id for udvidelsesforekomsten.
- name - et valgfrit navn på udvidelsesforekomsten.
<!ELEMENT classpathAttributeConfiguration EMPTY>
<!ATTLIST classpathAttributeConfiguration
attributeName CDATA #REQUIRED
class CDATA #REQUIRED
>
- attributeName - identificerer navnet på attributten for inkluderingssti som angivet i IClasspathAttribute.getName()
- class - navnet på den klasse, som implementerer konfigurationen af denne attribut. Klassen skal være offentlig og udvide org.eclipse.wst.jsdt.ui.wizards.ClasspathAttributeConfiguration med en offentlig 0-argumentkonstruktør.
Eksempler:
Her er et eksempel på en side til et opbevaringssted for inkluderingsstiindgange:
<extension point="org.eclipse.wst.jsdt.ui.classpathAttributeConfiguration">
<classpathAttributeConfiguration
key="com.example.myplugin.myClasspathAttributeKey"
name="Test property"
class="com.example.MyAttributeConfiguration">
</classpathAttributeConfiguration>
</extension>
Copyright (c) 2007 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