Package org.eclipse.ltk.core.refactoring

Examples of org.eclipse.ltk.core.refactoring.CompositeChange.addAll()


            IFile file = folder.getFile(formNode.getFormFileName());
            result.addAll(processFile(file, Messages.getString("Search.formNode.form")));
        }
        if (formNode.hasFormValidation()) {
            IFile file = folder.getFile(formNode.getValidationFileName());
            result.addAll(processFile(file, Messages.getString("Search.formNode.validation")));
        }
        if (result.getChildren().length > 0)
            return Arrays.asList((Change) result);
        return new ArrayList<Change>();
    }
View Full Code Here


    public CompositeChange createChange(IProgressMonitor pm) {
        CompositeChange result = new CompositeChange(getName());
        for (Presentation classPresentation : cache) {
            try {
                List<Change> changes = classPresentation.getChanges();
                result.addAll(changes.toArray(new Change[changes.size()]));
            } catch (Exception e) {
                DesignerLogger.logErrorWithoutDialog(e.getMessage(), e);
            }
        }
        return result;
View Full Code Here

            fLocalTextChanges.put(((TextChange)changes[i]).getModifiedElement(), changes[i]);
          }
        }
       
        if(changes.length > 0) {
          multiChange.addAll(changes);
        }
      }
    }

    //unless there are actually new changes return null
View Full Code Here

          fLocalTextChanges.put(((TextChange)changes[i]).getModifiedElement(), changes[i]);
        }
      }
     
      if(changes.length > 0) {
        multiChange.addAll(changes);
      }
    }

    //unless there are actually new changes return null
    Change result = null;
View Full Code Here

            fLocalTextChanges.put(((TextChange)changes[i]).getModifiedElement(), changes[i]);
          }
        }
       
        if(changes.length > 0) {
          multiChange.addAll(changes);
        }
      }
    }

    //unless there are actually new changes return null
View Full Code Here

          fLocalTextChanges.put(((TextChange)changes[i]).getModifiedElement(), changes[i]);
        }
      }
     
      if(changes.length > 0) {
        multiChange.addAll(changes);
      }
    }

    //unless there are actually new changes return null
    Change result = null;
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.