Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-09-07 15:28:26 +0000
committerEike Stepper2012-09-07 15:28:26 +0000
commit3d0843880e6b3fd11a55da1980af4f74e0406975 (patch)
tree498f302a6645b7042a55c5010dee212f10edd734 /plugins/org.eclipse.emf.cdo.transfer.repository
parente1d1095477205cff8cf522e7127fcfa2d88b769b (diff)
downloadcdo-3d0843880e6b3fd11a55da1980af4f74e0406975.tar.gz
cdo-3d0843880e6b3fd11a55da1980af4f74e0406975.tar.xz
cdo-3d0843880e6b3fd11a55da1980af4f74e0406975.zip
[388928] Develop a resource transfer framework
https://bugs.eclipse.org/bugs/show_bug.cgi?id=388928
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.transfer.repository')
-rw-r--r--plugins/org.eclipse.emf.cdo.transfer.repository/src/org/eclipse/emf/cdo/transfer/spi/repository/RepositoryTransferSystem.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.transfer.repository/src/org/eclipse/emf/cdo/transfer/spi/repository/RepositoryTransferSystem.java b/plugins/org.eclipse.emf.cdo.transfer.repository/src/org/eclipse/emf/cdo/transfer/spi/repository/RepositoryTransferSystem.java
index 87f3bf7a61..19f37ed956 100644
--- a/plugins/org.eclipse.emf.cdo.transfer.repository/src/org/eclipse/emf/cdo/transfer/spi/repository/RepositoryTransferSystem.java
+++ b/plugins/org.eclipse.emf.cdo.transfer.repository/src/org/eclipse/emf/cdo/transfer/spi/repository/RepositoryTransferSystem.java
@@ -146,6 +146,17 @@ public class RepositoryTransferSystem extends CDOTransferSystem
}
@Override
+ public CDOTransferElement getElement(URI uri)
+ {
+ if (CDOURIUtil.PROTOCOL_NAME.equals(uri.scheme()))
+ {
+ return getElement(uri.path());
+ }
+
+ return null;
+ }
+
+ @Override
public void createFolder(IPath path) throws IOException
{
((CDOTransaction)view).createResourceFolder(path.toString());

Back to the top