Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Property Resolver

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

Since:
1.5

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

Configuration Markup:

<!ELEMENT extension ( propertyresolver)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT propertyresolver EMPTY>

<!ATTLIST propertyresolver

id                 CDATA #REQUIRED

class              CDATA #REQUIRED

forRuntimeClass    CDATA #IMPLIED

instancePerProject (true | false)

>

  • id - The id to be used to identify this property resolver.
  • class - The class implementing the property resolver.
  • forRuntimeClass - Names a class (it need not be on the class path at designtime) that this designtime property resolver is intended to shadow. The instance of AbstractDTPropertyResolver provided by the 'class' attribute _must_ implement the IDecorativeResolver tagging interface in order to be used in this way.
  • instancePerProject - Default if not specified is false. This is backward compatible with pre-3.0 behaviour for the propertyresolver extension point. If set to false (or not set) a single instance of the property resolver will be used for all design time managers in the workspace. If set to true, a new instance will be created on every time this property resolver becomes the active one on a design time application manager. If 'class' specifies a type that implements org.eclipse.jst.jsf.designtime.el.IInstancePerProjectResolver, then setProject will be called with the host project. Implementing this interface is optional.

Examples:

The following example defines a new property resolver implemented by CustomDTPropertyResolver


   <extension
         point=
"org.eclipse.jst.jsf.designtime.propertyresolver"
>
      <propertyresolver
            class=
"org.eclipse.jst.jsf.dtresolver.test.resolvers.CustomDTPropertyResolver"

            id=
"org.eclipse.jst.jsf.dtresolver.test.propertyresolver2"
/>
   </extension>


Copyright 2006 Oracle 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 https://www.eclipse.org/legal/epl-v10.html


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire