X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=plugins%2Forg.argeo.slc.client.ui%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fviews%2FJcrProcessListView.java;h=27a39cf7b278ca3d23d662130d290ecbe6e8b1b7;hb=b66bc26d2ca20c8282924b28e4c7f88849c46f35;hp=ac8b5e8adfc587b4da264f8a2b36a057b63c6cf2;hpb=651d33e13bfa9a7b46464be412023ee747e612e8;p=gpl%2Fargeo-slc.git diff --git a/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/views/JcrProcessListView.java b/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/views/JcrProcessListView.java index ac8b5e8ad..27a39cf7b 100644 --- a/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/views/JcrProcessListView.java +++ b/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/views/JcrProcessListView.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2012 Mathieu Baudier + * Copyright (C) 2007-2012 Argeo GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,11 +33,12 @@ import javax.jcr.query.Query; import org.argeo.eclipse.ui.jcr.AsyncUiEventListener; import org.argeo.jcr.JcrUtils; import org.argeo.slc.SlcException; +import org.argeo.slc.client.ui.ClientUiPlugin; import org.argeo.slc.client.ui.SlcImages; import org.argeo.slc.client.ui.editors.ProcessEditor; import org.argeo.slc.client.ui.editors.ProcessEditorInput; import org.argeo.slc.execution.ExecutionProcess; -import org.argeo.slc.jcr.SlcJcrConstants; +import org.argeo.slc.jcr.SlcJcrUtils; import org.argeo.slc.jcr.SlcNames; import org.argeo.slc.jcr.SlcTypes; import org.eclipse.jface.viewers.ColumnLabelProvider; @@ -59,7 +60,7 @@ import org.eclipse.ui.part.ViewPart; /** Displays processes. */ public class JcrProcessListView extends ViewPart { - public static final String ID = "org.argeo.slc.client.ui.jcrProcessListView"; + public static final String ID = ClientUiPlugin.ID + ".jcrProcessListView"; private TableViewer viewer; @@ -92,8 +93,8 @@ public class JcrProcessListView extends ViewPart { observationManager.addEventListener(processesObserver, Event.NODE_ADDED | Event.NODE_REMOVED | Event.PROPERTY_CHANGED, - SlcJcrConstants.PROCESSES_BASE_PATH, true, null, null, - false); + SlcJcrUtils.getSlcProcessesBasePath(session), true, null, + null, false); } catch (RepositoryException e) { throw new SlcException("Cannot register listeners", e); }