Validation

org.topcased.validation.core
Class MarkerUtil

java.lang.Object
  extended by org.topcased.validation.core.MarkerUtil

public class MarkerUtil
extends java.lang.Object

This class find the validation markers and return a multiple status containing all the messages


Field Summary
static java.lang.String MARKER_ID
          Marker ID
 
Constructor Summary
MarkerUtil()
           
 
Method Summary
static void createMarkers(org.eclipse.core.resources.IFile file, Diagnostic diagnostic)
          Deprecated.  
static org.eclipse.core.runtime.IStatus getStatus(EObject object)
          Get an IStatus from the markers associated with the given EObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MARKER_ID

public static final java.lang.String MARKER_ID
Marker ID

See Also:
Constant Field Values
Constructor Detail

MarkerUtil

public MarkerUtil()
Method Detail

getStatus

public static org.eclipse.core.runtime.IStatus getStatus(EObject object)
Get an IStatus from the markers associated with the given EObject

Parameters:
object - the EObject
Returns:
a MultiStatus composed by the list of status from markers

createMarkers

public static void createMarkers(org.eclipse.core.resources.IFile file,
                                 Diagnostic diagnostic)
Deprecated. 

This is a temporary method copied from the EMF EclipseResourceUtil to keep compatibility from 3.2M6 to 3.2RC4.
It should be removed in the next versions

Parameters:
file -
diagnostic -

Validation

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.