summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormianrui2012-04-10 22:48:27 (EDT)
committer mwu2012-04-10 22:48:27 (EDT)
commitcb019ade7e8c781dcbdcbd1f9e9dd613a0a38b5c (patch)
treecb4989f8c045b9c92cbe3afbe945d8eca2ddf141
parent258e9716e04a0642a317084f1f5bac04acc55b60 (diff)
downloadorg.eclipse.birt-cb019ade7e8c781dcbdcbd1f9e9dd613a0a38b5c.zip
org.eclipse.birt-cb019ade7e8c781dcbdcbd1f9e9dd613a0a38b5c.tar.gz
org.eclipse.birt-cb019ade7e8c781dcbdcbd1f9e9dd613a0a38b5c.tar.bz2
Ted 48555 change the constants in to interface IArgumentLayout
-rw-r--r--UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/function/layout/ArgumentLayout.java6
-rw-r--r--UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/data/function/layout/IArgumentLayout.java16
2 files changed, 17 insertions, 5 deletions
diff --git a/UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/function/layout/ArgumentLayout.java b/UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/function/layout/ArgumentLayout.java
index e74a13d..3b5d37e 100644
--- a/UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/function/layout/ArgumentLayout.java
+++ b/UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/function/layout/ArgumentLayout.java
@@ -18,11 +18,7 @@ public class ArgumentLayout implements IArgumentLayout
private int layoutHint;
private String name;
- public static final int ALIGN_BLOCK = 0x0;
- public static final int ALIGN_INLINE = 0x10;
- public static final int ALIGN_INLINE_BEFORE = 0x10;
- public static final int LIGN_INLINEL_AFTER = 0x11;
- public static final int ALIGN_INLINE_NONE = 0x12;
+
public ArgumentLayout( String name,int layoutHint )
{
diff --git a/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/data/function/layout/IArgumentLayout.java b/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/data/function/layout/IArgumentLayout.java
index a8c24d6..3411aa2 100644
--- a/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/data/function/layout/IArgumentLayout.java
+++ b/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/data/function/layout/IArgumentLayout.java
@@ -13,6 +13,22 @@ package org.eclipse.birt.report.designer.internal.ui.data.function.layout;
public interface IArgumentLayout
{
+// 0x0 -
+// By default, the layout hint returns 0, which means the argument should be layouted in next line and the label is before the value field. This meets most default behavior for the standard argument layout.
+//
+// 0x10 -
+// The argument should be layouted inline with previous one, the label is before the value field.
+//
+// 0x11 -
+// The argument should be layouted inline with previous one, the label is after the value field.
+//
+// 0x12-
+// the argument should be layouted inline with previous one, and with no label.
+ public static final int ALIGN_BLOCK = 0x0;
+ public static final int ALIGN_INLINE = 0x10;
+ public static final int ALIGN_INLINE_BEFORE = 0x10;
+ public static final int LIGN_INLINEL_AFTER = 0x11;
+ public static final int ALIGN_INLINE_NONE = 0x12;
public int getLayoutHint( );