summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2009-01-09 11:30:41 (EST)
committerCarsten Drossel2009-01-09 11:30:41 (EST)
commite3c70a96a91f4eab9372df0d3cc87b7c385d0d79 (patch)
tree28bad80c0d674d52ce7af717d9e44ec8760eb12a
parentc6b06c531b1cf05454312b9d2da9f8309602f68d (diff)
downloadorg.eclipse.riena-e3c70a96a91f4eab9372df0d3cc87b7c385d0d79.zip
org.eclipse.riena-e3c70a96a91f4eab9372df0d3cc87b7c385d0d79.tar.gz
org.eclipse.riena-e3c70a96a91f4eab9372df0d3cc87b7c385d0d79.tar.bz2
fixed warning
-rw-r--r--org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/controllers/FilterSubModuleController.java6
-rw-r--r--org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/views/SharedViewDemoSubModuleView.java4
2 files changed, 3 insertions, 7 deletions
diff --git a/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/controllers/FilterSubModuleController.java b/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/controllers/FilterSubModuleController.java
index 2371b49..efb8479 100644
--- a/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/controllers/FilterSubModuleController.java
+++ b/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/controllers/FilterSubModuleController.java
@@ -26,7 +26,6 @@ import org.eclipse.riena.internal.navigation.ui.filter.UIFilterRuleRidgetHiddenM
import org.eclipse.riena.internal.navigation.ui.filter.UIFilterRuleRidgetMandatoryMarker;
import org.eclipse.riena.internal.navigation.ui.filter.UIFilterRuleRidgetOutputMarker;
import org.eclipse.riena.internal.navigation.ui.filter.UIFilterRuleRidgetValidator;
-import org.eclipse.riena.internal.ui.ridgets.swt.AbstractSWTRidget;
import org.eclipse.riena.navigation.IApplicationNode;
import org.eclipse.riena.navigation.INavigationNode;
import org.eclipse.riena.navigation.ISubModuleNode;
@@ -44,6 +43,7 @@ import org.eclipse.riena.ui.filter.impl.UIFilter;
import org.eclipse.riena.ui.ridgets.IActionListener;
import org.eclipse.riena.ui.ridgets.IActionRidget;
import org.eclipse.riena.ui.ridgets.IComboRidget;
+import org.eclipse.riena.ui.ridgets.IMarkableRidget;
import org.eclipse.riena.ui.ridgets.IRidget;
import org.eclipse.riena.ui.ridgets.ISingleChoiceRidget;
import org.eclipse.riena.ui.ridgets.ITextRidget;
@@ -330,7 +330,7 @@ public class FilterSubModuleController extends SubModuleController {
*/
private void doAddMarker() {
if (markerModel.getSelectedId() != null) {
- AbstractSWTRidget ridget = (AbstractSWTRidget) getRidget(markerModel.getSelectedId());
+ IMarkableRidget ridget = (IMarkableRidget) getRidget(markerModel.getSelectedId());
ridget.addMarker(markerModel.getSelectedMarker().getMarker());
}
}
@@ -340,7 +340,7 @@ public class FilterSubModuleController extends SubModuleController {
*/
private void doRemoveMarker() {
if (markerModel.getSelectedId() != null) {
- AbstractSWTRidget ridget = (AbstractSWTRidget) getRidget(markerModel.getSelectedId());
+ IMarkableRidget ridget = (IMarkableRidget) getRidget(markerModel.getSelectedId());
ridget.removeMarker(markerModel.getSelectedMarker().getMarker());
}
}
diff --git a/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/views/SharedViewDemoSubModuleView.java b/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/views/SharedViewDemoSubModuleView.java
index 58cf999..4e7891e 100644
--- a/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/views/SharedViewDemoSubModuleView.java
+++ b/org.eclipse.riena.example.client/src/org/eclipse/riena/example/client/views/SharedViewDemoSubModuleView.java
@@ -14,9 +14,7 @@ import java.util.ArrayList;
import java.util.List;
import org.eclipse.riena.example.client.controllers.SharedViewDemoSubModuleController;
-import org.eclipse.riena.internal.ui.ridgets.swt.LabelRidget;
import org.eclipse.riena.navigation.ui.swt.views.SubModuleView;
-import org.eclipse.riena.ui.ridgets.ILabelRidget;
import org.eclipse.riena.ui.swt.lnf.ILnfKeyConstants;
import org.eclipse.riena.ui.swt.lnf.LnfManager;
import org.eclipse.riena.ui.swt.utils.UIControlsFactory;
@@ -57,8 +55,6 @@ public class SharedViewDemoSubModuleView extends SubModuleView<SharedViewDemoSub
// layout
FormLayout layout = new FormLayout();
parent.setLayout(layout);
- ILabelRidget labelFacade = new LabelRidget();
- labelFacade.setUIControl(helloLabel);
addUIControl(helloLabel, "labelFacade"); //$NON-NLS-1$
// getController().setLabelFacade(labelFacade);