From 5187ffaff5610275cf3dbc5fb913f59126576da8 Mon Sep 17 00:00:00 2001 From: Bruno Sinou Date: Thu, 28 Feb 2013 11:21:05 +0000 Subject: [PATCH] Some more UI functionalities : + fetch wizard + add / remove distant repositories + some slight UI enhancements git-svn-id: https://svn.argeo.org/slc/trunk@6093 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- .../META-INF/spring/sync.xml | 10 +- .../META-INF/spring/commands.xml | 12 + .../icons/checked.gif | Bin 0 -> 149 bytes .../icons/unchecked.gif | Bin 0 -> 90 bytes .../org.argeo.slc.client.ui.dist/plugin.xml | 37 +- .../argeo/slc/client/ui/dist/DistImages.java | 6 + .../slc/client/ui/dist/PrivilegedJob.java | 43 ++ .../ui/dist/commands/AddRepository.java | 5 + .../ui/dist/commands/DeleteWorkspace.java | 47 +- .../ui/dist/commands/RepoSyncCommand.java | 63 ++- .../dist/commands/UnregisterRemoteRepo.java | 92 ++++ .../slc/client/ui/dist/utils/ViewerUtils.java | 56 +++ .../ui/dist/views/DistributionsView.java | 175 ++++--- .../ui/dist/wizards/ChooseRightsPage.java | 12 +- .../client/ui/dist/wizards/FetchWizard.java | 455 ++++++++++++++++++ .../java/org/argeo/slc/repo/RepoSync.java | 243 +++++++--- 16 files changed, 1087 insertions(+), 169 deletions(-) create mode 100644 plugins/org.argeo.slc.client.ui.dist/icons/checked.gif create mode 100644 plugins/org.argeo.slc.client.ui.dist/icons/unchecked.gif create mode 100644 plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/PrivilegedJob.java create mode 100644 plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/commands/UnregisterRemoteRepo.java create mode 100644 plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/utils/ViewerUtils.java create mode 100644 plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/wizards/FetchWizard.java diff --git a/lib/org.argeo.slc.lib.repo/META-INF/spring/sync.xml b/lib/org.argeo.slc.lib.repo/META-INF/spring/sync.xml index a58699051..b346e436f 100644 --- a/lib/org.argeo.slc.lib.repo/META-INF/spring/sync.xml +++ b/lib/org.argeo.slc.lib.repo/META-INF/spring/sync.xml @@ -5,10 +5,10 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-1.2.xsd"> - + - @@ -17,17 +17,17 @@ - + - + - + diff --git a/plugins/org.argeo.slc.client.ui.dist/META-INF/spring/commands.xml b/plugins/org.argeo.slc.client.ui.dist/META-INF/spring/commands.xml index 7ad2b6b6a..6a43fd6a5 100644 --- a/plugins/org.argeo.slc.client.ui.dist/META-INF/spring/commands.xml +++ b/plugins/org.argeo.slc.client.ui.dist/META-INF/spring/commands.xml @@ -26,6 +26,18 @@ scope="prototype"> + + + + + + + + + diff --git a/plugins/org.argeo.slc.client.ui.dist/icons/checked.gif b/plugins/org.argeo.slc.client.ui.dist/icons/checked.gif new file mode 100644 index 0000000000000000000000000000000000000000..00da14ec84416327928c99bfbbaf9582026dea5c GIT binary patch literal 149 zcmZ?wbhEHb6krfw*v!BXA8$W@e*ORd|M&0TKY#xGhK7dt_;>~e2A~L#!~}{zSr{1@ zI2d$5QXn%JSeyh-damAU_TsE5uaidK0rS4*0KW&CJndQYj!ax94YqH{Ie* h-Lkli4zomg)f2o0y3fUUh$WnU%VhZAg9;OaH2`l5at{MV;a=){MW-9X`WvBf`L74FG~}Am;!8 literal 0 HcmV?d00001 diff --git a/plugins/org.argeo.slc.client.ui.dist/plugin.xml b/plugins/org.argeo.slc.client.ui.dist/plugin.xml index 3d8bc0e02..eede0bcbb 100644 --- a/plugins/org.argeo.slc.client.ui.dist/plugin.xml +++ b/plugins/org.argeo.slc.client.ui.dist/plugin.xml @@ -73,6 +73,12 @@ + + + + + + defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler" + id="org.argeo.slc.client.ui.dist.unregisterRemoteRepo" + name="Unregister remote repository"> + + + + + + + + -