summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2009-01-23 03:33:42 (EST)
committerCarsten Drossel2009-01-23 03:33:42 (EST)
commit7d807468012b290fc746f3ada8d96c208110a033 (patch)
tree5c4ee4b363081cdd681fd9fb95ba72605364353f
parenta70d296586219c221dc272daf7b1a6949f5c0390 (diff)
downloadorg.eclipse.riena-7d807468012b290fc746f3ada8d96c208110a033.zip
org.eclipse.riena-7d807468012b290fc746f3ada8d96c208110a033.tar.gz
org.eclipse.riena-7d807468012b290fc746f3ada8d96c208110a033.tar.bz2
fixed TODOs
-rw-r--r--org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/NavigationViewPart.java4
-rw-r--r--org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubApplicationView.java7
-rw-r--r--org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubModuleView.java5
3 files changed, 5 insertions, 11 deletions
diff --git a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/NavigationViewPart.java b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/NavigationViewPart.java
index f4c47eb..f9ab421 100644
--- a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/NavigationViewPart.java
+++ b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/NavigationViewPart.java
@@ -318,7 +318,9 @@ public class NavigationViewPart extends ViewPart {
@Override
public void setFocus() {
- // TODO Auto-generated method stub
+ if (bodyComposite != null) {
+ bodyComposite.setFocus();
+ }
}
}
diff --git a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubApplicationView.java b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubApplicationView.java
index 05dc7fd..229abe0 100644
--- a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubApplicationView.java
+++ b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubApplicationView.java
@@ -431,15 +431,10 @@ public class SubApplicationView implements INavigationNodeView<SubApplicationCon
}
public void addUpdateListener(IComponentUpdateListener listener) {
- // TODO Auto-generated method stub
+ throw new UnsupportedOperationException();
}
- public int calculateBounds(int positionHint) {
- // TODO Auto-generated method stub
- return 0;
- }
-
public SubApplicationNode getNavigationNode() {
return subApplicationNode;
}
diff --git a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubModuleView.java b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubModuleView.java
index 8a73e73..037be19 100644
--- a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubModuleView.java
+++ b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/views/SubModuleView.java
@@ -19,7 +19,6 @@ import org.eclipse.core.runtime.IExtensionRegistry;
import org.eclipse.core.runtime.Platform;
import org.eclipse.equinox.log.Logger;
import org.eclipse.riena.core.util.InvocationTargetFailure;
-import org.eclipse.riena.core.util.ListenerList;
import org.eclipse.riena.internal.navigation.ui.swt.Activator;
import org.eclipse.riena.navigation.IApplicationNode;
import org.eclipse.riena.navigation.INavigationNode;
@@ -72,7 +71,6 @@ public abstract class SubModuleView<C extends SubModuleController> extends ViewP
/** The title bar at the top of the view. May be null if running in RCP */
private EmbeddedTitleBar title;
- private ListenerList<IComponentUpdateListener> updateListeners;
private Composite parentComposite;
private Composite contentComposite;
@@ -87,7 +85,6 @@ public abstract class SubModuleView<C extends SubModuleController> extends ViewP
public SubModuleView() {
binding = createBinding();
node2Controller = new HashMap<ISubModuleNode, C>();
- updateListeners = new ListenerList<IComponentUpdateListener>(IComponentUpdateListener.class);
}
/**
@@ -336,7 +333,7 @@ public abstract class SubModuleView<C extends SubModuleController> extends ViewP
}
public void addUpdateListener(IComponentUpdateListener listener) {
- updateListeners.add(listener);
+ throw new UnsupportedOperationException();
}
public void bind(SubModuleNode node) {