Examples of saveIfNecessary()


Examples of org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit.saveIfNecessary()

    } catch(Exception ex){
      ClickPlugin.log(ex);
    } finally {
      if (artifactEdit != null) {
        // save and dispose
        artifactEdit.saveIfNecessary(monitor);
        artifactEdit.dispose();
      }

    }
  }
View Full Code Here

Examples of org.eclipse.wst.common.componentcore.internal.StructureEdit.saveIfNecessary()

        moduleCore = StructureEdit.getStructureEditForWrite(project);
        if (moduleCore != null){
          WorkbenchComponent component = moduleCore.getComponent();
          if (component != null) {
            component.setName(deployedName);
            moduleCore.saveIfNecessary(null);
          }
        }
      } finally {
        if (moduleCore != null) {
          moduleCore.dispose();
View Full Code Here

Examples of org.eclipse.wst.common.componentcore.internal.StructureEdit.saveIfNecessary()

        }
      }
   }
   finally {
     if (moduleCore != null) {
       moduleCore.saveIfNecessary(monitor);
       moduleCore.dispose();
     }
    }
  }
 
View Full Code Here

Examples of org.eclipse.wst.common.componentcore.internal.StructureEdit.saveIfNecessary()

        component.getResources().add(refPosition,componentResource);
      }
   }
   finally {
     if (moduleCore != null) {
       moduleCore.saveIfNecessary(monitor);
       moduleCore.dispose();
     }
    }
  }
View Full Code Here

Examples of org.eclipse.wst.common.componentcore.internal.StructureEdit.saveIfNecessary()

      componentResource.setRuntimePath(runtimePath);
      component.getResources().add(0,componentResource);
   }
   finally {
     if (moduleCore != null) {
       moduleCore.saveIfNecessary(monitor);
       moduleCore.dispose();
     }
    }
  }
 
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.