org.eclipse.gmt.umlx.editor.problems
Class Problem<M>

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.problems.Problem<M>
All Implemented Interfaces:
IProblem

public class Problem<M>
extends java.lang.Object
implements IProblem

A Problem provides additional context for the IMarker that appears in the Problems View.


Field Summary
 
Fields inherited from interface org.eclipse.gmt.umlx.editor.problems.IProblem
MARKER_ID
 
Constructor Summary
Problem(IRegimeCo0<M,?> regime, M model, org.eclipse.core.resources.IMarker marker)
           
 
Method Summary
 IProblemMessage<?> computeProblemMessage()
           
 org.eclipse.core.resources.IMarker getMarker()
           
 M getModel()
           
 IProblemMessage<?> getProblemMessage()
           
 void setProblemMessage(IProblemMessage<?> problemMessage)
           
 java.lang.String toDebugString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Problem

public Problem(IRegimeCo0<M,?> regime,
               M model,
               org.eclipse.core.resources.IMarker marker)
Method Detail

computeProblemMessage

public IProblemMessage<?> computeProblemMessage()
Specified by:
computeProblemMessage in interface IProblem

getMarker

public org.eclipse.core.resources.IMarker getMarker()
Specified by:
getMarker in interface IProblem

getProblemMessage

public IProblemMessage<?> getProblemMessage()
Specified by:
getProblemMessage in interface IProblem

getModel

public M getModel()
Specified by:
getModel in interface IProblem

setProblemMessage

public void setProblemMessage(IProblemMessage<?> problemMessage)
Specified by:
setProblemMessage in interface IProblem

toDebugString

public java.lang.String toDebugString()
Specified by:
toDebugString in interface IProblem

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object