EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.internal
Class ConditionMergeHelper

java.lang.Object
  extended by org.eclipse.egf.pattern.internal.ConditionMergeHelper

public class ConditionMergeHelper
extends Object

Helper to merge easily merge previous condition generation with new ones.


Method Summary
protected static String getRelativePathToMergeFile()
          Get merge.xml file relative path to workspace.
static String merge(String newContent_p, String previousContent_p)
          Merge given new content with given previous one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

merge

public static String merge(String newContent_p,
                           String previousContent_p)
Merge given new content with given previous one.

Parameters:
newContent_p - the new content to merge.
previousContent_p - the previous content to merge
Returns:
the merged content.

getRelativePathToMergeFile

protected static String getRelativePathToMergeFile()
Get merge.xml file relative path to workspace.
Default implementation points to pattern condition class merge file.

Returns:

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.