summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-10-13 04:41:08 (EDT)
committerEike Stepper2007-10-13 04:41:08 (EDT)
commitf8eb99dd533b77b3a7804f488c5a15f5f3a394db (patch)
tree90d70eb8d4a5858e847a9886f3e9cae1203aca40
parentfb644955818068015ac5aabff4a476d1ce8ae295 (diff)
downloadcdo-f8eb99dd533b77b3a7804f488c5a15f5f3a394db.zip
cdo-f8eb99dd533b77b3a7804f488c5a15f5f3a394db.tar.gz
cdo-f8eb99dd533b77b3a7804f488c5a15f5f3a394db.tar.bz2
[206223] Provide collaborations example
https://bugs.eclipse.org/bugs/show_bug.cgi?id=206223
-rw-r--r--features/org.eclipse.emf.cdo.server.product-feature/rootfiles/.options27
-rw-r--r--plugins/org.eclipse.net4j.buddies.ui/META-INF/MANIFEST.MF2
-rw-r--r--plugins/org.eclipse.net4j.buddies.ui/plugin.xml16
-rw-r--r--plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/Test1PaneCreator.java37
-rw-r--r--plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/Test2PaneCreator.java37
-rw-r--r--plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/Test3PaneCreator.java37
-rw-r--r--plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/TestPane.java34
7 files changed, 20 insertions, 170 deletions
diff --git a/features/org.eclipse.emf.cdo.server.product-feature/rootfiles/.options b/features/org.eclipse.emf.cdo.server.product-feature/rootfiles/.options
index ffe3565..0743c40 100644
--- a/features/org.eclipse.emf.cdo.server.product-feature/rootfiles/.options
+++ b/features/org.eclipse.emf.cdo.server.product-feature/rootfiles/.options
@@ -3,7 +3,7 @@ org.eclipse.emf.cdo.protocol/debug.model=true
org.eclipse.emf.cdo.protocol/debug.protocol=true
org.eclipse.emf.cdo.protocol/debug.revision=true
org.eclipse.emf.cdo.protocol/debug=true
-org.eclipse.emf.cdo.server.db/debug=true
+
org.eclipse.emf.cdo.server/debug.protocol=true
org.eclipse.emf.cdo.server/debug.repository=true
org.eclipse.emf.cdo.server/debug.resource=true
@@ -12,15 +12,12 @@ org.eclipse.emf.cdo.server/debug.session=true
org.eclipse.emf.cdo.server/debug.store=true
org.eclipse.emf.cdo.server/debug.types=true
org.eclipse.emf.cdo.server/debug=true
+
+org.eclipse.emf.cdo.server.db/debug=true
+
org.eclipse.net4j.db/debug.sql=true
org.eclipse.net4j.db/debug=true
-org.eclipse.net4j.tcp/debug=true
-org.eclipse.net4j.util/debug.concurrency=true
-org.eclipse.net4j.util/debug.lifecycle.dump=true
-org.eclipse.net4j.util/debug.lifecycle=true
-org.eclipse.net4j.util/debug.om=true
-org.eclipse.net4j.util/debug.registry=true
-org.eclipse.net4j.util/debug=true
+
org.eclipse.net4j/debug.acceptor=true
org.eclipse.net4j/debug.buffer.stream=false
org.eclipse.net4j/debug.buffer=true
@@ -30,3 +27,17 @@ org.eclipse.net4j/debug.selector=true
org.eclipse.net4j/debug.signal=true
org.eclipse.net4j/debug=true
org.eclipse.net4j/perf=false
+
+org.eclipse.net4j.util/debug.concurrency=true
+org.eclipse.net4j.util/debug.lifecycle.dump=true
+org.eclipse.net4j.util/debug.lifecycle=true
+org.eclipse.net4j.util/debug.om=true
+org.eclipse.net4j.util/debug.registry=true
+org.eclipse.net4j.util/debug=true
+
+org.eclipse.net4j.tcp/debug=true
+
+org.eclipse.net4j.buddies.protocol/debug=true
+org.eclipse.net4j.buddies.server/debug=true
+
+org.eclipse.net4j.chat/debug=true
diff --git a/plugins/org.eclipse.net4j.buddies.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.net4j.buddies.ui/META-INF/MANIFEST.MF
index f3e83f2..96cb914 100644
--- a/plugins/org.eclipse.net4j.buddies.ui/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.net4j.buddies.ui/META-INF/MANIFEST.MF
@@ -9,7 +9,7 @@ Bundle-ClassPath: .
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.3.0,4.0.0)",
- org.eclipse.ui;bundle-version="[3.3.0,4.0.0)",
+ org.eclipse.ui;bundle-version="[3.3.0,4.0.0)";visibility:=reexport,
org.eclipse.ui.ide;bundle-version="[3.3.0,4.0.0)";visibility:=reexport,
org.eclipse.net4j;bundle-version="[0.8.0,0.9.0)";visibility:=reexport,
org.eclipse.net4j.util.ui;bundle-version="[0.8.0,0.9.0)";visibility:=reexport,
diff --git a/plugins/org.eclipse.net4j.buddies.ui/plugin.xml b/plugins/org.eclipse.net4j.buddies.ui/plugin.xml
index 22058e1..db2bab1 100644
--- a/plugins/org.eclipse.net4j.buddies.ui/plugin.xml
+++ b/plugins/org.eclipse.net4j.buddies.ui/plugin.xml
@@ -19,22 +19,6 @@
<extension-point id="facilityPaneCreators" name="Facility Pane Creators" schema="schema/facilityPaneCreators.exsd"/>
- <extension
- point="org.eclipse.net4j.buddies.ui.facilityPaneCreators">
- <facilityPaneCreator
- class="org.eclipse.net4j.buddies.internal.ui.Test1PaneCreator"
- icon="icons/full/TypeManyToOneMapping.gif"
- type="Test1Facility"/>
- <facilityPaneCreator
- class="org.eclipse.net4j.buddies.internal.ui.Test2PaneCreator"
- icon="icons/full/TypeOneToManyMapping.gif"
- type="Test2Facility"/>
- <facilityPaneCreator
- class="org.eclipse.net4j.buddies.internal.ui.Test3PaneCreator"
- icon="icons/full/TypeOneToOneMapping.gif"
- type="Test3Facility"/>
- </extension>
-
<extension
point="org.eclipse.ui.preferencePages">
<page
diff --git a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/Test1PaneCreator.java b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/Test1PaneCreator.java
deleted file mode 100644
index a4ea43c..0000000
--- a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/Test1PaneCreator.java
+++ /dev/null
@@ -1,37 +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;
-
-import org.eclipse.net4j.buddies.internal.protocol.Test1Facility;
-import org.eclipse.net4j.buddies.internal.ui.views.FacilityPane;
-import org.eclipse.net4j.buddies.ui.IFacilityPaneCreator;
-
-import org.eclipse.swt.widgets.Composite;
-
-/**
- * @author Eike Stepper
- */
-public class Test1PaneCreator implements IFacilityPaneCreator
-{
- public Test1PaneCreator()
- {
- }
-
- public String getFacilityType()
- {
- return Test1Facility.class.getSimpleName();
- }
-
- public FacilityPane createFacilityPane(Composite parent, int style)
- {
- return new TestPane(parent, style, getFacilityType());
- }
-}
diff --git a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/Test2PaneCreator.java b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/Test2PaneCreator.java
deleted file mode 100644
index fe7a21c..0000000
--- a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/Test2PaneCreator.java
+++ /dev/null
@@ -1,37 +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;
-
-import org.eclipse.net4j.buddies.internal.protocol.Test2Facility;
-import org.eclipse.net4j.buddies.internal.ui.views.FacilityPane;
-import org.eclipse.net4j.buddies.ui.IFacilityPaneCreator;
-
-import org.eclipse.swt.widgets.Composite;
-
-/**
- * @author Eike Stepper
- */
-public class Test2PaneCreator implements IFacilityPaneCreator
-{
- public Test2PaneCreator()
- {
- }
-
- public String getFacilityType()
- {
- return Test2Facility.class.getSimpleName();
- }
-
- public FacilityPane createFacilityPane(Composite parent, int style)
- {
- return new TestPane(parent, style, getFacilityType());
- }
-}
diff --git a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/Test3PaneCreator.java b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/Test3PaneCreator.java
deleted file mode 100644
index a92ec41..0000000
--- a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/Test3PaneCreator.java
+++ /dev/null
@@ -1,37 +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;
-
-import org.eclipse.net4j.buddies.internal.protocol.Test3Facility;
-import org.eclipse.net4j.buddies.internal.ui.views.FacilityPane;
-import org.eclipse.net4j.buddies.ui.IFacilityPaneCreator;
-
-import org.eclipse.swt.widgets.Composite;
-
-/**
- * @author Eike Stepper
- */
-public class Test3PaneCreator implements IFacilityPaneCreator
-{
- public Test3PaneCreator()
- {
- }
-
- public String getFacilityType()
- {
- return Test3Facility.class.getSimpleName();
- }
-
- public FacilityPane createFacilityPane(Composite parent, int style)
- {
- return new TestPane(parent, style, getFacilityType());
- }
-}
diff --git a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/TestPane.java b/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/TestPane.java
deleted file mode 100644
index 0994928..0000000
--- a/plugins/org.eclipse.net4j.buddies.ui/src/org/eclipse/net4j/buddies/internal/ui/TestPane.java
+++ /dev/null
@@ -1,34 +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;
-
-import org.eclipse.net4j.buddies.internal.ui.views.FacilityPane;
-import org.eclipse.net4j.util.ui.UIUtil;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Text;
-
-/**
- * @author Eike Stepper
- */
-public class TestPane extends FacilityPane
-{
- public TestPane(Composite parent, int style, String type)
- {
- super(parent, style);
- setLayout(UIUtil.createGridLayout(1));
-
- Text text = new Text(this, SWT.CENTER);
- text.setLayoutData(UIUtil.createGridData());
- text.setText(type);
- }
-}