package org.simantics.interop.issues; /** * Interface for an issue * * TODO: grouping, severity? * * @author Marko Luukkainen * */ public interface Issue { /** * Prints description * @return */ public String getDescription(); /** * Returns true if this issue can be highlighted in an editor * @return */ public boolean supportsEditor(); /** * Opens and highlights the reason of the issue in an editor */ public void showInEditor(); /** * Disposes the issue. */ public void dispose(); public void addListener(IssueListener listenr); public void removeListener(IssueListener listener); }