Sisällytyspolkumuuttujan alustustoiminnot

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

Alkaen versiosta:
2.0

Kuvaus:
Tämän laajennuspisteen avulla työasemat voivat lisätä mukautettuja Sisällytyspolkumuuttujan alustustoimintoja, joita käytetään Sisällytyspolkumuuttujien sidontaan tarvittaessa.

Merkintärakenne:

<!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)

>


Esimerkkejä:
Esimerkki JsGlobalScopeVariableInitializer-esittelystä sisällytyspolun muuttujalle, jonka nimi on "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