summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-10-11 04:31:30 (EDT)
committerEike Stepper2007-10-11 04:31:30 (EDT)
commita66e12937fc443375d62523bbda17253d375ee62 (patch)
tree31dba712c4d256da5e76c96aee77588403a79bb4
parent784f66597bc333930644f53c682d2ff173285ebe (diff)
downloadcdo-a66e12937fc443375d62523bbda17253d375ee62.zip
cdo-a66e12937fc443375d62523bbda17253d375ee62.tar.gz
cdo-a66e12937fc443375d62523bbda17253d375ee62.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.java11
-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/FacilityTypesContentProvider.java25
3 files changed, 6 insertions, 32 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 c4335d8..063f7b3 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
@@ -22,12 +22,12 @@ import org.eclipse.swt.widgets.List;
*/
public class CollaborationsPane extends Composite
{
- private CollaborationsView viewPart;
+ private CollaborationsView collaborationsView;
- public CollaborationsPane(CollaborationsView viewPart, Composite parent)
+ public CollaborationsPane(CollaborationsView collaborationsView, Composite parent)
{
super(parent, SWT.NONE);
- this.viewPart = viewPart;
+ this.collaborationsView = collaborationsView;
setLayout(UIUtil.createGridLayout(1));
List list = new List(this, SWT.NONE);
@@ -38,9 +38,8 @@ public class CollaborationsPane extends Composite
}
}
- public CollaborationsView getViewPart()
+ public CollaborationsView getCollaborationsView()
{
- return viewPart;
+ return collaborationsView;
}
-
}
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 7f029eb..251df77 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
@@ -28,7 +28,7 @@ public class CollaborationsView extends SessionManagerView
{
}
- public CollaborationsPane getPane()
+ public CollaborationsPane getCollaborationsPane()
{
return (CollaborationsPane)sashComposite.getControl2();
}
diff --git a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/FacilityTypesContentProvider.java b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/FacilityTypesContentProvider.java
deleted file mode 100644
index 4d1d383..0000000
--- a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/views/FacilityTypesContentProvider.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/***************************************************************************
- * 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.net4j.buddies.BuddiesUtil;
-import org.eclipse.net4j.util.ui.StaticContentProvider;
-
-/**
- * @author Eike Stepper
- */
-public class FacilityTypesContentProvider extends StaticContentProvider
-{
- public FacilityTypesContentProvider()
- {
- super(BuddiesUtil.getFacilityTypes());
- }
-}