summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-10-11 04:58:40 (EDT)
committerEike Stepper2007-10-11 04:58:40 (EDT)
commit9b73af8c87ca14b6662b0a0a3864706e9c99e318 (patch)
tree6eaeac311151defbe46682cca26ecf5730350ffa
parent12dabc41dc458511e8cb87114ce5ccc4dc8dbc58 (diff)
downloadcdo-9b73af8c87ca14b6662b0a0a3864706e9c99e318.zip
cdo-9b73af8c87ca14b6662b0a0a3864706e9c99e318.tar.gz
cdo-9b73af8c87ca14b6662b0a0a3864706e9c99e318.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/CollaborationsPane.java7
-rw-r--r--plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/CollaborationsView.java2
-rw-r--r--plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/FacilityPane.java24
3 files changed, 25 insertions, 8 deletions
diff --git a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/CollaborationsPane.java b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/CollaborationsPane.java
index 6f76c20..d580b4d 100644
--- a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/CollaborationsPane.java
+++ b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/CollaborationsPane.java
@@ -47,13 +47,6 @@ public class CollaborationsPane extends Composite
this.collaborationsView = collaborationsView;
collaborationsView.getViewer().addSelectionChangedListener(collaborationsViewerListener);
-
- // List list = new List(this, SWT.NONE);
- // list.setLayoutData(UIUtil.createGridData());
- // for (String facilityType : BuddiesUtil.getFacilityTypes())
- // {
- // list.add(facilityType);
- // }
}
public CollaborationsView getCollaborationsView()
diff --git a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/CollaborationsView.java b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/CollaborationsView.java
index 251df77..2f5d5a3 100644
--- a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/CollaborationsView.java
+++ b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/CollaborationsView.java
@@ -47,7 +47,7 @@ public class CollaborationsView extends SessionManagerView
@Override
protected Control createControl2(Composite parent)
{
- return new CollaborationsPane(CollaborationsView.this, parent);
+ return new CollaborationsPane(parent, CollaborationsView.this);
}
};
}
diff --git a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/FacilityPane.java b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/FacilityPane.java
new file mode 100644
index 0000000..2db0dec
--- /dev/null
+++ b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/FacilityPane.java
@@ -0,0 +1,24 @@
+/***************************************************************************
+ * Copyright (c) 2004 - 2007 Eike Stepper, Germany.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ **************************************************************************/
+package org.eclipse.net4j.buddies.internal.ui.views;
+
+import org.eclipse.swt.widgets.Composite;
+
+/**
+ * @author Eike Stepper
+ */
+public class FacilityPane extends Composite
+{
+ public FacilityPane(Composite parent, int style)
+ {
+ super(parent, style);
+ }
+}