Examples of DesignDefinition


Examples of de.innovationgate.wga.common.beans.DesignDefinition

      IFile props = folder.getFile(DesignTemplate.PROPERTIES_FILENAME);
      if (props.exists()) {
        props.delete(true, new NullProgressMonitor());
      }     
     
      DesignDefinition syncinfo = new DesignDefinition();   
      syncinfo.setDesignKey(designKey);
      syncinfo.setFileEncoding(DesignDefinition.FILEENCODING_CSCONFIG_DEFINED);     
      try {
        syncinfo.write(new File(folder.getLocation().toFile(), DesignDirectory.DESIGN_DEFINITION_FILE));
      } catch (IOException e) {
        WGADesignerPlugin.getDefault().logError("cound not create design definition", e);
      }
      folder.refreshLocal(IResource.DEPTH_INFINITE, null);
      new WGADesignStructureHelper(folder).enforceDesignEncoding();
View Full Code Here

Examples of de.innovationgate.wga.common.beans.DesignDefinition

       
    }

    public static Configuration loadConfiguration(File file) throws FileNotFoundException, IOException, InvalidCSConfigVersionException {
       
        DesignDefinition syncInfo = null;
        CSConfig csConfig = null;
        String licenseText = null;
       
        // Normal plugin file
        if (file.isFile()) {
View Full Code Here

Examples of de.innovationgate.wga.common.beans.DesignDefinition

                _log.warn("Could not use '" + script.getDocumentKey() + "' for design deployment since the name contains invalid characters");
            }
        }

        // Create sync info and store it to directory
        _syncInfo = new DesignDefinition();
        _syncInfo.setDesignKey(designKey);
        if (_core.getWgaConfiguration().getDesignConfiguration().getDefaultEncoding() != null) {
            _syncInfo.setFileEncoding(_core.getWgaConfiguration().getDesignConfiguration().getDefaultEncoding());
        }
        else {
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.