summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-07-28 16:00:19 (EDT)
committerEike Stepper2007-07-28 16:00:19 (EDT)
commit5913d01f211c818923e06ebff98356d73db8be2d (patch)
tree47bd44d259fdec58d53a2590b1380a2c8cc969f9
parentc1fbadc9c9866dbbf73966a6865fbd63cf8c6529 (diff)
downloadcdo-5913d01f211c818923e06ebff98356d73db8be2d.zip
cdo-5913d01f211c818923e06ebff98356d73db8be2d.tar.gz
cdo-5913d01f211c818923e06ebff98356d73db8be2d.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/dialogs/IPackageProvider.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/dialogs/PackageManagerDialog.java3
-rw-r--r--plugins/org.eclipse.emf.cdo/plugin.xml9
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/CDOUtil.java3
4 files changed, 16 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/dialogs/IPackageProvider.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/dialogs/IPackageProvider.java
index 0a45af2..f160a8e 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/dialogs/IPackageProvider.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/dialogs/IPackageProvider.java
@@ -17,6 +17,8 @@ import org.eclipse.emf.ecore.EPackage;
import org.eclipse.swt.events.SelectionEvent;
/**
+ * TODO Is this used/needed?
+ *
* @author Eike Stepper
*/
public interface IPackageProvider
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/dialogs/PackageManagerDialog.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/dialogs/PackageManagerDialog.java
index b0dd3f4..9e649af 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/dialogs/PackageManagerDialog.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/dialogs/PackageManagerDialog.java
@@ -188,6 +188,9 @@ public class PackageManagerDialog extends TitleAreaDialog
return cdoPackage.isDynamic() ? "DYNAMIC" : "STATIC";
}
+ /**
+ * TODO Extend TableViewer
+ */
private void addColumn(Table table, String title, int width, int alignment)
{
TableColumn column = new TableColumn(table, alignment);
diff --git a/plugins/org.eclipse.emf.cdo/plugin.xml b/plugins/org.eclipse.emf.cdo/plugin.xml
index aa36f44..20a98b2 100644
--- a/plugins/org.eclipse.emf.cdo/plugin.xml
+++ b/plugins/org.eclipse.emf.cdo/plugin.xml
@@ -2,6 +2,7 @@
<?eclipse version="3.0"?>
<plugin>
+
<extension-point id="persistent_package" name="CDO Persistent Package" schema="schema/persistent_package.exsd"/>
<extension
@@ -28,7 +29,13 @@
<package
uri="http://www.eclipse.org/emf/CDO/Eresource/1.0.0"
class="org.eclipse.emf.cdo.eresource.EresourcePackage"
- genModel="model/resource.genmodel" />
+ genModel="model/resource.genmodel"/>
+ </extension>
+
+ <extension
+ point="org.eclipse.emf.cdo.persistent_package">
+ <package
+ uri="http://www.eclipse.org/emf/CDO/Eresource/1.0.0"/>
</extension>
</plugin>
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/CDOUtil.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/CDOUtil.java
index a724470..e369d8d 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/CDOUtil.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/CDOUtil.java
@@ -59,6 +59,9 @@ public final class CDOUtil
{
}
+ /**
+ * Can only be used with Eclipse running!
+ */
public static Set<String> getPersistentPackageURIs()
{
Set<String> result = new HashSet();