Package org.eclipse.wst.common.project.facet.core

Examples of org.eclipse.wst.common.project.facet.core.IFacetedProjectWorkingCopy


    private LibraryInstallDelegate libraryInstallDelegate = null;
   
    private void initLibraryInstallDelegate()
    {
        final IFacetedProjectWorkingCopy fpjwc = (IFacetedProjectWorkingCopy) getProperty( FACETED_PROJECT_WORKING_COPY );
        final IProjectFacetVersion fv = (IProjectFacetVersion) getProperty( FACET_VERSION );
       
        if( this.libraryInstallDelegate == null && fpjwc != null && fv != null )
        {
            this.libraryInstallDelegate = new LibraryInstallDelegate( fpjwc, fv );
View Full Code Here


      return null;
    else if (project.exists())
      return project.getLocation();
   
    String projName = (String)getProperty(FACET_PROJECT_NAME);
    IFacetedProjectWorkingCopy projModel = (IFacetedProjectWorkingCopy)getProperty(FACETED_PROJECT_WORKING_COPY );
   
    if (projModel.getProjectLocation() != null)
      return projModel.getProjectLocation().append(projName);

    return ResourcesPlugin.getWorkspace().getRoot().getRawLocation().append(projName);
   
  }
View Full Code Here

          }
        }
      }
    }
   
    IFacetedProjectWorkingCopy projWC = (IFacetedProjectWorkingCopy)getProperty(FACETED_PROJECT_WORKING_COPY);
    Set<Action> pfas = projWC.getProjectFacetActions();
    for (Action action : pfas){
      if (action.getProjectFacetVersion().getProjectFacet().getId().equals("jst.web")){ //$NON-NLS-1$
        IDataModel webFacet = (IDataModel) action.getConfig();
        return webFacet.getStringProperty(IJ2EEModuleFacetInstallDataModelProperties.CONFIG_FOLDER );
      }
View Full Code Here

        init();
    }
   
    private void init()
    {
        final IFacetedProjectWorkingCopy fpjwc = getFacetedProjectWorkingCopy();
        final IProjectFacetVersion fv = getProjectFacetVersion();
       
        if( this.librariesUninstallDelegate == null && fpjwc != null && fv != null )
        {
            this.librariesUninstallDelegate = new LibraryUninstallDelegate( fpjwc, fv );
View Full Code Here

    private LibraryInstallDelegate libraryInstallDelegate = null;
   
    private void initLibraryInstallDelegate()
    {
        final IFacetedProjectWorkingCopy fpjwc = (IFacetedProjectWorkingCopy) getProperty( FACETED_PROJECT_WORKING_COPY );
        final IProjectFacetVersion fv = (IProjectFacetVersion) getProperty( FACET_VERSION );
       
        if( this.libraryInstallDelegate == null && fpjwc != null && fv != null )
        {
            this.libraryInstallDelegate = new LibraryInstallDelegate( fpjwc, fv );
View Full Code Here

      return null;
    else if (project.exists())
      return project.getLocation();
   
    String projName = (String)getProperty(FACET_PROJECT_NAME);
    IFacetedProjectWorkingCopy projModel = (IFacetedProjectWorkingCopy)getProperty(FACETED_PROJECT_WORKING_COPY );
   
    if (projModel.getProjectLocation() != null)
      return projModel.getProjectLocation().append(projName);

    return ResourcesPlugin.getWorkspace().getRoot().getRawLocation().append(projName);
   
  }
View Full Code Here

      .getUnderlyingFolder().getProjectRelativePath();

      return webContentPath.toString();
    }
   
    IFacetedProjectWorkingCopy projWC = (IFacetedProjectWorkingCopy)getProperty(FACETED_PROJECT_WORKING_COPY);
    Set<Action> pfas = projWC.getProjectFacetActions();
    for (Action action : pfas){
      if (action.getProjectFacetVersion().getProjectFacet().getId().equals("jst.web")){ //$NON-NLS-1$
        IDataModel webFacet = (IDataModel) action.getConfig();
        return webFacet.getStringProperty(IJ2EEModuleFacetInstallDataModelProperties.CONFIG_FOLDER );
      }
View Full Code Here

    private final boolean tapestryFacetConfigurationEnabled = TapestryFacetConfigurationUtil.isTapestryFacetConfigurationEnabled();
    private LibraryInstallDelegate libraryInstallDelegate = null;
   
    private void initLibraryInstallDelegate()
    {
        final IFacetedProjectWorkingCopy fpjwc = (IFacetedProjectWorkingCopy) getProperty( FACETED_PROJECT_WORKING_COPY );
        final IProjectFacetVersion fv = (IProjectFacetVersion) getProperty( FACET_VERSION );
       
        if( this.libraryInstallDelegate == null && fpjwc != null && fv != null )
        {
            this.libraryInstallDelegate = new LibraryInstallDelegate( fpjwc, fv );
View Full Code Here

        return null;
      else if (project.exists())
        return project.getLocation();
     
      String projName = (String)getProperty(FACET_PROJECT_NAME);
      IFacetedProjectWorkingCopy projModel = (IFacetedProjectWorkingCopy)getProperty(FACETED_PROJECT_WORKING_COPY );
     
      if (projModel.getProjectLocation() != null)
        return projModel.getProjectLocation().append(projName);

      return ResourcesPlugin.getWorkspace().getRoot().getRawLocation().append(projName);
     
    }
View Full Code Here

        .getUnderlyingFolder().getProjectRelativePath();

        return webContentPath.toString();
      }
     
      IFacetedProjectWorkingCopy projWC = (IFacetedProjectWorkingCopy)getProperty(FACETED_PROJECT_WORKING_COPY);
      Set<Action> pfas = projWC.getProjectFacetActions();
      for (Action action : pfas){
        if (action.getProjectFacetVersion().getProjectFacet().getId().equals("jst.web")){ //$NON-NLS-1$
          IDataModel webFacet = (IDataModel) action.getConfig();
          return webFacet.getStringProperty(IJ2EEModuleFacetInstallDataModelProperties.CONFIG_FOLDER );
        }
View Full Code Here

TOP

Related Classes of org.eclipse.wst.common.project.facet.core.IFacetedProjectWorkingCopy

Copyright © 2018 www.massapicom. 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.