X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.client.ui.dist%2Fsrc%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fdist%2Fviews%2FQueryBundlesForm.java;h=baeeddc2cca72523984dd2ef2f8c27c8c987a8e2;hb=10e9f177944b2737ee018ed695338cfeff4fd0a3;hp=e1d741afa9b82e69ec20aa19317b18b3d952afc9;hpb=2db415932b071525adb52c6374e021174512a924;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/views/QueryBundlesForm.java b/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/views/QueryBundlesForm.java index e1d741afa..baeeddc2c 100644 --- a/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/views/QueryBundlesForm.java +++ b/org.argeo.slc.client.ui.dist/src/org/argeo/slc/client/ui/dist/views/QueryBundlesForm.java @@ -15,12 +15,10 @@ */ package org.argeo.slc.client.ui.dist.views; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.argeo.ArgeoException; +import org.argeo.slc.SlcException; +import org.argeo.slc.SlcNames; +import org.argeo.slc.SlcTypes; import org.argeo.slc.client.ui.dist.DistPlugin; -import org.argeo.slc.jcr.SlcNames; -import org.argeo.slc.jcr.SlcTypes; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.SashForm; import org.eclipse.swt.layout.FillLayout; @@ -36,8 +34,8 @@ import org.eclipse.swt.widgets.Text; /** Query SLC Repo to get some artifacts given some predefined parameters */ public class QueryBundlesForm extends AbstractQueryArtifactsView implements SlcNames, SlcTypes { - private static final Log log = LogFactory.getLog(QueryBundlesForm.class); - public static final String ID = DistPlugin.ID + ".queryBundlesForm"; + // private static final Log log = LogFactory.getLog(QueryBundlesForm.class); + public static final String ID = DistPlugin.PLUGIN_ID + ".queryBundlesForm"; // widgets private Button executeBtn; @@ -108,6 +106,8 @@ public class QueryBundlesForm extends AbstractQueryArtifactsView implements executeBtn.setLayoutData(gd); Listener executeListener = new Listener() { + private static final long serialVersionUID = 6267263421349073712L; + public void handleEvent(Event event) { refreshQuery(); } @@ -177,7 +177,7 @@ public class QueryBundlesForm extends AbstractQueryArtifactsView implements } return sb.toString(); } catch (Exception e) { - throw new ArgeoException( + throw new SlcException( "Cannot generate where statement to get artifacts", e); } }