X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.client.ui.dist%2Fsrc%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fdist%2Fcommands%2FRegisterRepository.java;h=fc9124d50089e2a561cc3c92099cff85ae58a5f0;hb=2a00e308e58352d94abdd740415ca5ed34e7bdfb;hp=c044c59d848126eb1b3879c313bc16078d15bef1;hpb=2db415932b071525adb52c6374e021174512a924;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/commands/RegisterRepository.java b/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/commands/RegisterRepository.java index c044c59d8..fc9124d50 100644 --- a/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/commands/RegisterRepository.java +++ b/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/commands/RegisterRepository.java @@ -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