Package de.innovationgate.eclipse.utils.wga

Examples of de.innovationgate.eclipse.utils.wga.WGADesignStructureHelper


        Map<String, IContainer> connectedDesigns;
        try {
          connectedDesigns = _model.getWgaRuntime().getConnectedDesignContainers();
          IContainer design = connectedDesigns.get(app.getContentStore().getKey())
          if (design !=null && design.exists()){
            WGADesignStructureHelper helper = new WGADesignStructureHelper(design);
            WorkbenchUtils.openEditor(Plugin.getDefault().getWorkbench(), helper.getSyncInfo(), ExternalResourceIDs.EDITOR_WGA_DESIGN);
          }
          else {
            MessageDialog.openWarning(getSite().getShell(), "Unable to determine design", "Unable to determine design for application '" + app.getContentStore().getKey() + "'.");   
          }         
        } catch (IncompatibleWGAConfigVersion e1) {
View Full Code Here


        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();
      folder.refreshLocal(IResource.DEPTH_INFINITE, null);
    } catch (ZipException e) {
      WGADesignerPlugin.getDefault().logError("File "+folder.getLocation().toFile().getAbsolutePath()+" is not a Zipfile" ,e);
     
    } catch (IOException e) {
View Full Code Here

TOP

Related Classes of de.innovationgate.eclipse.utils.wga.WGADesignStructureHelper

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.