Initialiseringsfunktioner til inkluderingsstivariabel

Id:
org.eclipse.wst.jsdt.core.JsGlobalScopeVariableInitializer

Fra:
2.0

Beskrivelse:
Dette udvidelsespunkt giver klienter mulighed for at bidrage med tilpassede initialiseringsfunktioner til inkluderingsstivariabler, som bruges til sen binding af inkluderingsstivariabler.

Konfigurationskode:

<!ELEMENT extension (JsGlobalScopeVariableInitializer*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT JsGlobalScopeVariableInitializer EMPTY>

<!ATTLIST JsGlobalScopeVariableInitializer

variable   CDATA #REQUIRED

class      CDATA #REQUIRED

deprecated CDATA #IMPLIED

readOnly   (true | false)

>


Eksempler:
Eksempel på en erklæring af JsGlobalScopeVariableInitializer for en classpath-variabel med navnet "FOO":
                                                                       
<extension point="org.eclipse.wst.jsdt.core.JsGlobalScopeVariableInitializer">            
   <JsGlobalScopeVariableInitializer                                          
      variable="FOO"                                                        
      class="com.example.CPVInitializer"/>                           
</extension>


Copyright (c) 2000, 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