Skip to content
Snippets Groups Projects
Commit 161dc11a authored by Andreas Bayha's avatar Andreas Bayha
Browse files

Changed visibility of method.

parent 5c0b9d25
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: 8645F799F13BC187BF6FB1FAF2F3E6BB
* @ConQAT.Rating GREEN Hash: B6B89ADEF2AA6ABA90960B36205B2289
*/
public abstract class ConnectionEditPartBase<T extends ConnectionSegmentBase> extends
AbstractConnectionEditPart {
......@@ -183,14 +183,15 @@ public abstract class ConnectionEditPartBase<T extends ConnectionSegmentBase> ex
}
/** Refreshes the decoration figure using {@link IMarkerService}. */
private void refreshDecorationFigure() {
protected void refreshDecorationFigure() {
Rectangle decorationBounds = determineDecorationFigureBounds();
decorationFigure.setBounds(decorationBounds);
if(decorationFigure.getParent() != null && decorationBounds != null) {
decorationFigure.getParent().setConstraint(decorationFigure, decorationBounds);
ESeverity severity = IMarkerService.getInstance().getHighestViolationSeverity(getModel());
ESeverity severity =
IMarkerService.getInstance().getHighestViolationSeverity(getModel());
Image icon = getMarkerServiceDecorationIcon(severity, useSmallDecorationImage());
decorationFigure.setIcon(icon);
......
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