]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/commands/RegisterRepository.java
Adapt to changes in Commons
[gpl/argeo-slc.git] / org.argeo.slc.client.ui.dist / src / org / argeo / slc / client / ui / dist / commands / RegisterRepository.java
index c044c59d848126eb1b3879c313bc16078d15bef1..fc9124d50089e2a561cc3c92099cff85ae58a5f0 100644 (file)
@@ -18,12 +18,12 @@ package org.argeo.slc.client.ui.dist.commands;
 import javax.jcr.Repository;
 import javax.jcr.RepositoryFactory;
 
-import org.argeo.jcr.ArgeoNames;
+import org.argeo.node.ArgeoNames;
+import org.argeo.node.security.Keyring;
 import org.argeo.slc.client.ui.dist.DistPlugin;
 import org.argeo.slc.client.ui.dist.utils.CommandHelpers;
 import org.argeo.slc.client.ui.dist.wizards.RegisterRepoWizard;
 import org.argeo.slc.jcr.SlcNames;
-import org.argeo.util.security.Keyring;
 import org.eclipse.core.commands.AbstractHandler;
 import org.eclipse.core.commands.ExecutionEvent;
 import org.eclipse.core.commands.ExecutionException;
@@ -32,13 +32,12 @@ import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.jface.wizard.WizardDialog;
 import org.eclipse.ui.handlers.HandlerUtil;
 
-/**
- * Register a remote repository by creating a node in the current
- */
+/** Register a remote repository by creating a node in the current local node. */
 public class RegisterRepository extends AbstractHandler implements ArgeoNames,
                SlcNames {
 
-       public final static String ID = DistPlugin.ID + ".registerRepository";
+       public final static String ID = DistPlugin.PLUGIN_ID
+                       + ".registerRepository";
        public final static String DEFAULT_LABEL = "Register a repository...";
        public final static ImageDescriptor DEFAULT_ICON = DistPlugin
                        .getImageDescriptor("icons/addRepo.gif");
@@ -70,4 +69,4 @@ public class RegisterRepository extends AbstractHandler implements ArgeoNames,
        public void setNodeRepository(Repository nodeRepository) {
                this.nodeRepository = nodeRepository;
        }
-}
+}
\ No newline at end of file