/*
- * 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.
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;
/** 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;
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);
}