Commit de131956 authored by Tiziano Munaro's avatar Tiziano Munaro
Browse files

[UI] Adapt component editor visuals to the refactored base classes

Issue-Ref: 3876
Issue-Url: https://af3-developer.fortiss.org/issues/3876

Signed-off-by: Tiziano Munaro's avatarTiziano Munaro <munaro@fortiss.org>
parent 826076a8
ChannelVisual.java 3606276076119c36b149fc4e340944c1cd9d9e0f GREEN
DiagramComponentPortVisual.java 5c49bf5e1b411bd2392d5f8452fa527f32cefc0b GREEN
SubComponentPortVisual.java 80dbee8463840c9551ff8f8bea6a419155abaed5 GREEN
SubComponentVisual.java 6760324c1ccdf63c72c28390c6d65a260fbd82b7 YELLOW
ChannelVisual.java b381c8ff8d3c807b0efc0408f873a96d5db865a6 YELLOW
DiagramComponentPortVisual.java 604db6f8979fdb307247fdce9aa1ca28837b55a4 YELLOW
SubComponentPortVisual.java 5ccd54942b0306bc1354611856e9103fb174b0a8 YELLOW
SubComponentVisual.java 974bb721aa15d16c16efd8c00bb67817d66f1065 YELLOW
......@@ -18,7 +18,7 @@ package org.fortiss.af3.component.ui.editor.fx.visual;
import org.eclipse.systemfocus.kernel.common.ui.javafx.lwfxef.mvc.ILinkMVCBundle;
import org.eclipse.systemfocus.kernel.common.ui.javafx.lwfxef.visual.ILinkVisual;
import org.fortiss.af3.component.model.Channel;
import org.fortiss.tooling.base.ui.editor.fx.visuals.LayoutedModelElementBasedLineLinkVisualBase;
import org.fortiss.tooling.base.ui.editor.fx.visuals.LayoutedLineLinkVisualBase;
/**
* {@link ILinkVisual} for {@link Channel}s.
......@@ -26,7 +26,7 @@ import org.fortiss.tooling.base.ui.editor.fx.visuals.LayoutedModelElementBasedLi
* @author hoelzl
* @author munaro
*/
public final class ChannelVisual extends LayoutedModelElementBasedLineLinkVisualBase {
public final class ChannelVisual extends LayoutedLineLinkVisualBase {
/** Constructor. */
public ChannelVisual(ILinkMVCBundle mvcb) {
super(mvcb);
......
......@@ -22,7 +22,7 @@ import org.eclipse.systemfocus.kernel.common.ui.javafx.lwfxef.mvc.IDiagramAnchor
import org.eclipse.systemfocus.kernel.common.ui.javafx.lwfxef.visual.IContentVisual;
import org.fortiss.af3.component.model.InputPort;
import org.fortiss.af3.component.model.Port;
import org.fortiss.tooling.base.ui.editor.fx.visuals.LayoutedModelElementBasedCircularDiagramAnchorageVisualBase;
import org.fortiss.tooling.base.ui.editor.fx.visuals.LayoutedCircularDiagramAnchorageVisualBase;
import javafx.scene.paint.Paint;
......@@ -34,7 +34,7 @@ import javafx.scene.paint.Paint;
* @author munaro
*/
public final class DiagramComponentPortVisual
extends LayoutedModelElementBasedCircularDiagramAnchorageVisualBase {
extends LayoutedCircularDiagramAnchorageVisualBase {
/** Constructor. */
public DiagramComponentPortVisual(IDiagramAnchorageMVCBundle mvcb) {
super(mvcb);
......
......@@ -22,7 +22,7 @@ import org.eclipse.systemfocus.kernel.common.ui.javafx.lwfxef.mvc.IContentAnchor
import org.eclipse.systemfocus.kernel.common.ui.javafx.lwfxef.visual.IContentVisual;
import org.fortiss.af3.component.model.InputPort;
import org.fortiss.af3.component.model.Port;
import org.fortiss.tooling.base.ui.editor.fx.visuals.LayoutedModelElementBasedCircularContentAnchorageVisualBase;
import org.fortiss.tooling.base.ui.editor.fx.visuals.LayoutedCircularContentAnchorageVisualBase;
import javafx.scene.paint.Paint;
......@@ -34,7 +34,7 @@ import javafx.scene.paint.Paint;
* @author munaro
*/
public final class SubComponentPortVisual
extends LayoutedModelElementBasedCircularContentAnchorageVisualBase {
extends LayoutedCircularContentAnchorageVisualBase {
/** Constructor. */
public SubComponentPortVisual(IContentAnchorageMVCBundle mvcb) {
......
......@@ -24,7 +24,7 @@ import static org.fortiss.af3.component.ui.DefaultStyle.WEAKLY_CAUSAL_COMPONENT_
import org.eclipse.systemfocus.kernel.common.ui.javafx.lwfxef.mvc.IContentMVCBundle;
import org.eclipse.systemfocus.kernel.common.ui.javafx.lwfxef.visual.IContentVisual;
import org.fortiss.af3.component.model.Component;
import org.fortiss.tooling.base.ui.editor.fx.visuals.LayoutedModelElementBasedRectangularContentVisualBase;
import org.fortiss.tooling.base.ui.editor.fx.visuals.LayoutedRectangularContentVisualBase;
import javafx.scene.image.Image;
import javafx.scene.paint.Color;
......@@ -37,7 +37,7 @@ import javafx.scene.paint.Paint;
* @author munaro
*/
public final class SubComponentVisual
extends LayoutedModelElementBasedRectangularContentVisualBase {
extends LayoutedRectangularContentVisualBase {
/** The fill color used by composite components. */
private static final Color COMPOSITE_COLOR = convertColor(SUBSTRUCTURE_COMPONENT_BACKGROUND);
/** The fill color used by strongly causal components. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment