Examples of TapestryVersion


Examples of org.eclipse.jst.tapestry.core.TapestryVersion

     * @return the jsf version of the project if it is valid JSF faceted
     * project or null otherwise.
     */
    public TapestryUtils create(final IProject project)
    {
        final TapestryVersion jsfVersion = TapestryVersion.valueOfProject(project);
        if (jsfVersion != null)
        {
            return create(jsfVersion, ModelProviderManager.getModelProvider(project));
        }
        return null;
View Full Code Here

Examples of org.eclipse.jst.tapestry.core.TapestryVersion

     * @throw {@link IllegalArgumentException} if version is not related
     * to a JSF facet.
     */
    public TapestryUtils create(final IProjectFacetVersion version, final IModelProvider modelProvider)
    {
        final TapestryVersion jsfVersion = TapestryVersion.valueOfFacetVersion(version);
        if (jsfVersion != null)
        {
            return create(jsfVersion, modelProvider);
        }
        return null;
View Full Code Here

Examples of org.eclipse.jst.tapestry.core.internal.tapestrylibraryregistry.TapestryVersion

     * @return the jsfVersion the dataType
     * <!-- end-user-doc -->
   * @generated
   */
  public TapestryVersion createTapestryVersionFromString(EDataType eDataType, String initialValue) {
    TapestryVersion result = TapestryVersion.get(initialValue);
    if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    return result;
  }
View Full Code Here

Examples of org.eclipse.jst.tapestry.core.internal.tapestrylibraryregistry.TapestryVersion

   * @param newJSFVersion
   * <!-- end-user-doc -->
   * @generated
   */
  public void setTapestryVersion(TapestryVersion newJSFVersion) {
    TapestryVersion oldJSFVersion = jsfVersion;
    jsfVersion = newJSFVersion == null ? JSF_VERSION_EDEFAULT : newJSFVersion;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, TapestryLibraryRegistryPackage.JSF_LIBRARY__JSF_VERSION, oldJSFVersion, jsfVersion));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.