Skip to content
Snippets Groups Projects
Commit 7c034065 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

RED.

refs 2983
parent 02e06b5e
No related branches found
No related tags found
No related merge requests found
...@@ -113,6 +113,7 @@ public class AutoLayoutMenu implements IContextMenuContributor { ...@@ -113,6 +113,7 @@ public class AutoLayoutMenu implements IContextMenuContributor {
// Check if model is empty // Check if model is empty
if(pickInstanceOf(ILayoutedModelElement.class, element.getContainedElements()).isEmpty()) { if(pickInstanceOf(ILayoutedModelElement.class, element.getContainedElements()).isEmpty()) {
// TODO (FH): use import static
return Collections.emptyList(); return Collections.emptyList();
} }
...@@ -121,10 +122,12 @@ public class AutoLayoutMenu implements IContextMenuContributor { ...@@ -121,10 +122,12 @@ public class AutoLayoutMenu implements IContextMenuContributor {
// particular also if the model does not contain any connectors, or none of the connectors // particular also if the model does not contain any connectors, or none of the connectors
// is connected to a connection). // is connected to a connection).
if(hasConnectedConnectorWithAngle(element)) { if(hasConnectedConnectorWithAngle(element)) {
// TODO (FH): use import static
return Collections.emptyList(); return Collections.emptyList();
} }
for(IHierarchicElement childElement : element.getContainedElements()) { for(IHierarchicElement childElement : element.getContainedElements()) {
if(hasConnectedConnectorWithAngle(childElement)) { if(hasConnectedConnectorWithAngle(childElement)) {
// TODO (FH): use import static
return Collections.emptyList(); return Collections.emptyList();
} }
} }
......
...@@ -84,6 +84,7 @@ import de.cau.cs.kieler.klay.layered.properties.Properties; ...@@ -84,6 +84,7 @@ import de.cau.cs.kieler.klay.layered.properties.Properties;
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating YELLOW Hash: 36F683174E3AD8ADC2DDDC27D7C75183 * @ConQAT.Rating YELLOW Hash: 36F683174E3AD8ADC2DDDC27D7C75183
*/ */
// TODO (FH): use import static
public class KielerAutoLayouter implements IAutoLayouter { public class KielerAutoLayouter implements IAutoLayouter {
/** Mapping from {@link IHierarchicElement}s to {@link KNode}s. */ /** Mapping from {@link IHierarchicElement}s to {@link KNode}s. */
......
...@@ -37,6 +37,7 @@ import org.fortiss.tooling.base.utils.ZoomUtils; ...@@ -37,6 +37,7 @@ import org.fortiss.tooling.base.utils.ZoomUtils;
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating YELLOW Hash: FDBEA15E01470E5D318805D3653A4F3F * @ConQAT.Rating YELLOW Hash: FDBEA15E01470E5D318805D3653A4F3F
*/ */
// TODO (FH): use import static (multiple occurences below)
public class ZoomUIUtils { public class ZoomUIUtils {
/** Factor to align zoomed movements to 0.05 steps (==> avail. zoom factors). */ /** Factor to align zoomed movements to 0.05 steps (==> avail. zoom factors). */
......
...@@ -150,6 +150,7 @@ public class ConstraintUIBases { ...@@ -150,6 +150,7 @@ public class ConstraintUIBases {
return res; return res;
} }
// TODO (FH): remove @params or document
/** /**
* @param s * @param s
* @return the icon type corresponding to <code>s</code>. * @return the icon type corresponding to <code>s</code>.
......
...@@ -56,6 +56,7 @@ import org.fortiss.tooling.kernel.utils.EcoreUtils; ...@@ -56,6 +56,7 @@ import org.fortiss.tooling.kernel.utils.EcoreUtils;
* @version $Rev$ * @version $Rev$
* @ConQAT.Rating YELLOW Hash: 97453A8CA6928F43F260FB918B4C1AA4 * @ConQAT.Rating YELLOW Hash: 97453A8CA6928F43F260FB918B4C1AA4
*/ */
// TODO (FH): remove @params or document
public class ConstraintsUIUtils { public class ConstraintsUIUtils {
/** Gathers some statuses by verification status. */ /** Gathers some statuses by verification status. */
......
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