Skip to content
Snippets Groups Projects
Commit 9a88b93f authored by Alexander Diewald's avatar Alexander Diewald
Browse files

Merge remote-tracking branch 'origin/master' into 3541

parents 1be86733 895f041d
No related branches found
No related tags found
1 merge request!1263541
...@@ -25,6 +25,9 @@ import org.fortiss.tooling.kernel.extension.data.IConstraintViolation.ESeverity; ...@@ -25,6 +25,9 @@ import org.fortiss.tooling.kernel.extension.data.IConstraintViolation.ESeverity;
import org.fortiss.tooling.kernel.extension.data.ITopLevelElement; import org.fortiss.tooling.kernel.extension.data.ITopLevelElement;
import org.fortiss.tooling.kernel.service.IConstraintCheckerService; import org.fortiss.tooling.kernel.service.IConstraintCheckerService;
import org.fortiss.tooling.kernel.ui.internal.MarkerService; import org.fortiss.tooling.kernel.ui.internal.MarkerService;
import org.fortiss.tooling.kernel.ui.internal.views.fx.ErrorViewFXViewPart;
import javafx.scene.image.ImageView;
/** /**
* The marker service manages model element specific markers. It uses the * The marker service manages model element specific markers. It uses the
...@@ -36,7 +39,7 @@ import org.fortiss.tooling.kernel.ui.internal.MarkerService; ...@@ -36,7 +39,7 @@ import org.fortiss.tooling.kernel.ui.internal.MarkerService;
public interface IMarkerService { public interface IMarkerService {
/** Returns view id of the marker view. */ /** Returns view id of the marker view. */
public static final String MARKER_VIEW = "org.fortiss.tooling.kernel.model.marker"; public static final String MARKER_VIEW = ErrorViewFXViewPart.ID;
/** Returns the service instance. */ /** Returns the service instance. */
public static IMarkerService getInstance() { public static IMarkerService getInstance() {
...@@ -68,6 +71,9 @@ public interface IMarkerService { ...@@ -68,6 +71,9 @@ public interface IMarkerService {
*/ */
ImageDescriptor getImageFor(ESeverity severity, boolean smallDecoration); ImageDescriptor getImageFor(ESeverity severity, boolean smallDecoration);
/** Similar to {@link #getImageFor(ESeverity, boolean)} but for Java FX. */
ImageView getFXImageFor(ESeverity severity, boolean smallDecoration);
/** /**
* <p> * <p>
* Returns a shared icon appropriate for the severity. Flag indicates small sized image. * Returns a shared icon appropriate for the severity. Flag indicates small sized image.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment