summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Kriese2011-04-18 08:28:34 (EDT)
committerSteffen Kriese2011-04-18 08:28:34 (EDT)
commitbef5765d544b578b829bd110e0c4b6737aa4841c (patch)
tree92a58494cd6ab5f8750eaf5b02a600a0eaeabce9
parent7b5a81cb60eacfd88566705e1f15e0bdbc60d956 (diff)
downloadorg.eclipse.riena-bef5765d544b578b829bd110e0c4b6737aa4841c.zip
org.eclipse.riena-bef5765d544b578b829bd110e0c4b6737aa4841c.tar.gz
org.eclipse.riena-bef5765d544b578b829bd110e0c4b6737aa4841c.tar.bz2
RESOLVED - bug 343143: MasterDetails: make handleApply() API
https://bugs.eclipse.org/bugs/show_bug.cgi?id=343143
-rw-r--r--org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/ui/ridgets/swt/AbstractMasterDetailsRidget.java3
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/IMasterDetailsRidget.java7
2 files changed, 7 insertions, 3 deletions
diff --git a/org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/ui/ridgets/swt/AbstractMasterDetailsRidget.java b/org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/ui/ridgets/swt/AbstractMasterDetailsRidget.java
index 049b2bd..a54323e 100644
--- a/org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/ui/ridgets/swt/AbstractMasterDetailsRidget.java
+++ b/org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/ui/ridgets/swt/AbstractMasterDetailsRidget.java
@@ -899,9 +899,6 @@ public abstract class AbstractMasterDetailsRidget extends AbstractCompositeRidge
}
}
- /**
- * Non API; public for testing only.
- */
public void handleApply() {
assertIsBoundToModel();
Assert.isNotNull(editable);
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/IMasterDetailsRidget.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/IMasterDetailsRidget.java
index 94bfb28..e9d4c67 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/IMasterDetailsRidget.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/IMasterDetailsRidget.java
@@ -426,4 +426,11 @@ public interface IMasterDetailsRidget extends IComplexRidget {
* ridget
*/
void setAutoEnableRemove(final boolean autoEnableRemove);
+
+ /**
+ * Applies the details to the master.
+ *
+ * @since 3.0
+ */
+ void handleApply();
}