Initialiserere for inkluderingsbanevariabel

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

Siden:
2.0

Beskrivelse:
Dette utvidelsespunktet gjør det mulig for klienter å bidra med tilpassede initialiserere for inkluderingsbanevariabler, som brukes til å binde inkluderingsbanevariabler "lazily".

Konfigurasjonskoding:

<!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å deklarasjon av en JsGlobalScopeVariableInitializer for en klassebanecontainer 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