summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-10-08 06:22:27 (EDT)
committerEike Stepper2007-10-08 06:22:27 (EDT)
commit761a831aa71491c77de52250e23de8aef21f15cb (patch)
treeabd0cb0f853328b6e24d1eed20631fb46771e42a
parentc912fe331259a6adb8699e509dd17a0bb6b9dc10 (diff)
downloadcdo-761a831aa71491c77de52250e23de8aef21f15cb.zip
cdo-761a831aa71491c77de52250e23de8aef21f15cb.tar.gz
cdo-761a831aa71491c77de52250e23de8aef21f15cb.tar.bz2
[205668] Provide buddies example
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205668
-rw-r--r--plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/BuddiesView.java15
1 files changed, 10 insertions, 5 deletions
diff --git a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/BuddiesView.java b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/BuddiesView.java
index 0794851..4446395 100644
--- a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/BuddiesView.java
+++ b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/BuddiesView.java
@@ -25,7 +25,7 @@ import org.eclipse.net4j.util.ui.views.ContainerView;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IMenuManager;
-import org.eclipse.jface.action.Separator;
+import org.eclipse.jface.action.IToolBarManager;
public class BuddiesView extends ContainerView implements IListener
{
@@ -215,14 +215,19 @@ public class BuddiesView extends ContainerView implements IListener
}
@Override
- protected void fillLocalPullDown(IMenuManager manager)
+ protected void fillLocalToolBar(IToolBarManager manager)
{
- manager.add(connectAction);
- manager.add(disconnectAction);
- manager.add(new Separator());
manager.add(availableAction);
manager.add(awayAction);
manager.add(doNotDisturbAction);
+ super.fillLocalToolBar(manager);
+ }
+
+ @Override
+ protected void fillLocalPullDown(IMenuManager manager)
+ {
+ manager.add(connectAction);
+ manager.add(disconnectAction);
super.fillLocalPullDown(manager);
}