Skip to content
Snippets Groups Projects
Commit 48b180be authored by Daniel Ratiu's avatar Daniel Ratiu
Browse files

Yet another review of the code.

parent 79980e69
No related branches found
No related tags found
No related merge requests found
Showing
with 28 additions and 19 deletions
......@@ -47,7 +47,7 @@ import org.fortiss.tooling.kernel.model.INamedCommentedElement;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: D8173BE506F1A36E8BF28B17E1BD9C1E
* @ConQAT.Rating GREEN Hash: 4A355EC6FDC855CE9E728649BD5D8B6B
*/
public class ConstrainedNonResizableEditPolicy<T extends ILayoutedModelElement & INamedCommentedElement>
extends NonResizableEditPolicy {
......
......@@ -35,7 +35,7 @@ import org.fortiss.tooling.base.ui.layout.util.ZoomUtils;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: FBC121B49FD0AD95808132A6B4477132
* @ConQAT.Rating GREEN Hash: EDE430BDF6AF2557B61A010B20999456
*/
public class DiagramLayoutEditPolicy extends LayoutEditPolicyBase {
......
......@@ -36,7 +36,7 @@ import org.fortiss.tooling.kernel.model.INamedCommentedElement;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: DA1558F01B70802D5D0DD9A6E2411E65
* @ConQAT.Rating GREEN Hash: 575F7A8F72757299806077E13181D372
*/
public class ElementLayoutEditPolicy<T extends ILayoutedModelElement & INamedCommentedElement>
extends LayoutEditPolicyBase {
......
......@@ -36,9 +36,10 @@ import org.fortiss.tooling.base.ui.layout.util.RectangleLayoutUtils;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: DD495DD52938CABD033D98072C8EF8DF
* @ConQAT.Rating GREEN Hash: 8F9361223B2D04A638954A22CE574C86
*/
public class FreeResizableEditPolicy extends ResizableEditPolicy {
/** Constructor. */
public FreeResizableEditPolicy() {
// enable resizing on east, south-east and south handles.
......
......@@ -36,7 +36,7 @@ import org.fortiss.tooling.kernel.ui.util.DragAndDropUtils;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 1123D10EB725BCC9D76B7F7322DAF5CA
* @ConQAT.Rating GREEN Hash: 6D1500C8A3A09024E500FF7DEBE8776D
*/
public abstract class LayoutEditPolicyBase extends LayoutEditPolicy {
......
......@@ -35,7 +35,7 @@ import org.fortiss.tooling.kernel.service.IElementCompositorService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 64EDE1E67D8B6F94C5B141D37A3B1B1F
* @ConQAT.Rating GREEN Hash: 88B39E781AA009BE850045A046CDC23E
*/
public final class RemoveEditPolicy extends ComponentEditPolicy {
......
......@@ -20,13 +20,15 @@ package org.fortiss.tooling.base.ui.layout;
import org.eclipse.draw2d.geometry.Point;
/**
* TODO: I don't understand this comment + we do not inherit ILayouter
*
* An ILayouter handles specialized layouts of points like snap to grid or move
* to border.
*
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 3198DA6EC6F6DB4064197E9461B2C181
* @ConQAT.Rating RED Hash: 9E4D64CB75CDF6BCFA08098F50F4C363
*/
public interface IPointLayouter {
......
......@@ -29,7 +29,7 @@ import org.eclipse.swt.graphics.Font;
* @author wandinger
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 473078EED8B10B2D102B2604C564F0A3
* @ConQAT.Rating GREEN Hash: 1ADDF13DA92039D5C42C0993B683A4F2
*/
public final class DefaultLayoutConstants {
......
......@@ -30,7 +30,7 @@ package org.fortiss.tooling.base.ui.layout.constants;
* @author wandinger
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 27C902A52E8959B0F07AC273EC8038DF
* @ConQAT.Rating GREEN Hash: A9C376E80AE980692442DB20A88269B9
*/
public final class LayoutKeyConstants {
......
......@@ -28,7 +28,7 @@ import org.fortiss.tooling.base.model.layout.LayoutFactory;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 183CE3430521A9C9D9AF01E6B7D243D9
* @ConQAT.Rating GREEN Hash: 2E92D07592321B47E50BE5DE3633D8E8
*/
/* package */final class AngleUtil {
......
......@@ -28,7 +28,7 @@ import org.fortiss.tooling.base.model.layout.LayoutFactory;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 007843C6CF423B749B1B39258C1BCB41
* @ConQAT.Rating GREEN Hash: D5C32EC0DD697B73E8BE1FE02816876F
*/
/* package */final class DimensionUtil {
......
......@@ -45,7 +45,7 @@ import org.fortiss.tooling.base.ui.layout.constants.LayoutKeyConstants;
* @author hummel
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 4B5CA7ECC0803744F20556EE5113D44A
* @ConQAT.Rating GREEN Hash: 38D5D68A699DB31A9E3691D250641588
*/
public class LayoutDataUtils {
......
......@@ -31,7 +31,7 @@ import org.fortiss.tooling.base.model.layout.Orientation;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 599F1F9262B1714FC580C9B8A1F945C7
* @ConQAT.Rating GREEN Hash: CB7A6378410128772C9D2687A4682FA4
*/
/* package */final class OffsetOrientationUtil {
......
......@@ -25,6 +25,9 @@ import org.fortiss.tooling.base.model.layout.LayoutFactory;
import org.fortiss.tooling.base.model.layout.Point;
/**
* TODO: What is the difference between {@link PointUtil} and {@link PointsUtil}
* ?
*
* Utility class for handling {@link Point} layout data.
*
* @author hoelzl
......
......@@ -24,12 +24,15 @@ import org.fortiss.tooling.base.model.layout.Point;
import org.fortiss.tooling.base.model.layout.Points;
/**
* TODO: What is the difference between {@link PointUtil} and {@link PointsUtil}
* ?
*
* Utility class for {@link Points} layout data.
*
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 67B35E9BB1202928191456CDEA7D00FD
* @ConQAT.Rating GREEN Hash: 1BF8F215A3DAA9B28B98088EE369162A
*/
/* package */final class PointsUtil {
......
......@@ -28,7 +28,7 @@ import org.fortiss.tooling.base.ui.layout.constants.DefaultLayoutConstants;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 864E908FB1B86BFCA206640785FAB8D0
* @ConQAT.Rating GREEN Hash: EEE21E715A74AC8326AF6F81DC92DCD4
*/
public final class SnapToGridUtils {
......
......@@ -28,7 +28,7 @@ import org.eclipse.gef.requests.ChangeBoundsRequest;
* @author hummel
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 990CC0C860163174B266FAE75C2B3197
* @ConQAT.Rating GREEN Hash: 57E5F4C587CD015E3B85AC0666F7BA44
*/
public class ZoomUtils {
......
......@@ -31,7 +31,7 @@ import org.fortiss.tooling.base.ui.editpart.figure.EVisualStyle;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: A4BF19B04F9E2FCCB5439FE5A029BBBA
* @ConQAT.Rating GREEN Hash: F2CDD837F99C0C706488E9DE16350173
*/
public class GraphicalViewerPreferencePage extends FieldEditorPreferencePage
implements IWorkbenchPreferencePage {
......
......@@ -29,7 +29,7 @@ import org.fortiss.tooling.base.ui.ToolingBaseUIActivator;
* @author hoelzlf
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 6B7E44F27214D28ABD5CE7B961495A60
* @ConQAT.Rating GREEN Hash: 624CDE136F603C9004BFFDB01D3728DE
*/
public class MainPreferencePage extends FieldEditorPreferencePage implements
IWorkbenchPreferencePage {
......
......@@ -2,7 +2,7 @@
<!--
$Id$
@version $Rev$
@ConQAT.Rating YELLOW Hash: 684482CCEB1D9551CEEA631D34E66CFB
@ConQAT.Rating GREEN Hash: 547B92CC3BA83267CAA7EB4AB320F6EB
-->
<project name="org.fortiss.tooling.base" default="generate-ecore" basedir="..">
......
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