Variable Resolver

Identifier:
org.eclipse.jst.jsf.core.variableresolver

Since:
1.5

Description:
Allows a third-party to define an alternative instance of the design time variable resolver. This id can then be set on a project using DesignTimeApplicationManager.setVariableResolverProvider. Once set on a project this id will be used to load the active design time variable resolver.

Configuration Markup:

<!ELEMENT extension (variableresolver)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT variableresolver EMPTY>

<!ATTLIST variableresolver

id                 CDATA #REQUIRED

class              CDATA #REQUIRED

forRuntimeClass    CDATA #IMPLIED

instancePerProject (true | false)

>


Examples:

The following example defines a new variable resolver implemented by CustomDTVariableResolver


   <extension
         point="org.eclipse.jst.jsf.designtime.variableresolver">
      <variableresolver
            class="org.eclipse.jst.jsf.dtresolver.test.resolvers.CustomDTVariableResolver"
            id="org.eclipse.jst.jsf.dtresolver.test.variableresolver1"/>
   </extension>


Copyright 2006 Oracle All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-2.0/