diff --git a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/LayoutDataUIUtils.java b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/LayoutDataUIUtils.java index 370ba653504af358a500ab01b7e208a08c799f76..2c2fc536f768b490c264fb3b1ce77e433fab3d8e 100644 --- a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/LayoutDataUIUtils.java +++ b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/LayoutDataUIUtils.java @@ -118,7 +118,6 @@ public class LayoutDataUIUtils { } /** Returns the layouted connector's position. */ - // TODO(VA) This method is not used -> remove? public static Point getConnectorPosition(ILayoutedModelElement layouted) { return getPosition(layouted, CONNECTOR_POSITION); } @@ -138,13 +137,11 @@ public class LayoutDataUIUtils { } /** Returns the layouted connector's orientation. */ - // TODO(VA) This method is not used -> remove? public static EOrientation getConnectorOrientation(ILayoutedModelElement layouted) { return getOffsetOrientation(layouted, CONNECTOR_OFFSET_ORIENTATION).getOrientation(); } /** Sets the layouted connector's offset and orientation. */ - // TODO(VA) This method is not used -> remove? public static void setConnectorOffsetOrientation(ILayoutedModelElement layouted, OffsetOrientation orientation) { setOffsetOrientation(layouted, CONNECTOR_OFFSET_ORIENTATION, orientation.getOffset(), @@ -152,7 +149,6 @@ public class LayoutDataUIUtils { } /** Returns the layouted connector's offset. */ - // TODO(VA) This method is not used -> remove? public static Offset getConnectorOffset(ILayoutedModelElement layouted) { OffsetOrientation offset = getOffsetOrientation(layouted, CONNECTOR_OFFSET); if(offset == null) { @@ -184,7 +180,6 @@ public class LayoutDataUIUtils { * Return the absolute position for a given offset, orientation, size of the * parent and insets. */ - // TODO(VA) This method is not used -> remove? public static Point getAbsolute(OffsetOrientation oo, Rectangle parentBounds, int parentInsets) { Dimension d = createDimension(parentBounds.width, parentBounds.height, ""); return getAbsolute(oo, d, parentInsets); diff --git a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/RectangleLayoutUIUtils.java b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/RectangleLayoutUIUtils.java index 291967d5f2b012eedc8323cff83e4c4ca8379133..3b65bce1ad11c7ca9e9b96a0c76010d7f82b6036 100644 --- a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/RectangleLayoutUIUtils.java +++ b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/RectangleLayoutUIUtils.java @@ -97,7 +97,6 @@ public class RectangleLayoutUIUtils { * the old size to be adjusted * @return the new dimensions */ - // TODO(VA) This method is not used -> remove? public static Dimension retainMinimumRectangularShapeSize(Dimension oldSize) { return clampRectangularShapeSize(oldSize, DEFAULT_SHAPE_MINIMUM_WIDTH, DEFAULT_SHAPE_MINIMUM_HEIGHT); diff --git a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/SnapToGridUtils.java b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/SnapToGridUtils.java index 6e24fd230f1a49a949dae82fcebbea0ecec4f8b4..83d789c363bb0b84b958eaa70cebcffd7088a693 100644 --- a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/SnapToGridUtils.java +++ b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/SnapToGridUtils.java @@ -46,14 +46,12 @@ public final class SnapToGridUtils { * Modifies the x and y coordinates of the given point to be on the grid of * the given size. */ - // TODO(VA) This method is not used -> remove? public static void snapToGrid(Point p, int gridSize) { p.x = snapToGrid(p.x, gridSize); p.y = snapToGrid(p.y, gridSize); } /** Modifies the x and y coordinates of the given point to be on the grid. */ - // TODO(VA) This method is not used -> remove? public static void snapToGrid(Point p) { p.x = snapToGrid(p.x, DefaultLayoutConstants.DEFAULT_GRID_SIZE); p.y = snapToGrid(p.y, DefaultLayoutConstants.DEFAULT_GRID_SIZE); diff --git a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/StatusUtils.java b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/StatusUtils.java index 6fce15566e57d23b28a61740ee641b525eb0465d..f0a0c47dedc8f139282c3593240f31ca2997bc2e 100644 --- a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/StatusUtils.java +++ b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/StatusUtils.java @@ -65,7 +65,6 @@ public class StatusUtils { * @param message * the message */ - // TODO(VA) This method is not used -> remove? public static void setStatusMessage(String message) { if(getStatusLine() != null) { getStatusLine().setMessage(message); diff --git a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/TableViewerUtils.java b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/TableViewerUtils.java index b99e6af0af606dce21a66b54f3e973b9527751e9..e066a8c0b2161db475100fceebd2c57813ce4da2 100644 --- a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/TableViewerUtils.java +++ b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/TableViewerUtils.java @@ -118,7 +118,6 @@ public class TableViewerUtils { * the column's editing support * @return the configured viewer column */ - // TODO(VA) This method is not used -> remove? public static TableViewerColumn createWeightedColumn(TableViewer viewer, int widthWeight, String title, String tooltip, ColumnLabelProvider labelProvider, EditingSupport editingSupport) { @@ -192,7 +191,6 @@ public class TableViewerUtils { } /** Editing support for numbers. */ - // TODO(VA) This method is not used -> remove? public static abstract class NumberEditingSupport extends EditingSupport { /** The parent where the editing support is needed. */