]> git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/editors/ProcessEditorInputFactory.java
JCR UI can run processes
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.ui / src / main / java / org / argeo / slc / client / ui / editors / ProcessEditorInputFactory.java
1 package org.argeo.slc.client.ui.editors;
2
3 import org.argeo.slc.client.ui.ClientUiPlugin;
4 import org.eclipse.core.runtime.IAdaptable;
5 import org.eclipse.ui.IElementFactory;
6 import org.eclipse.ui.IMemento;
7
8 public class ProcessEditorInputFactory implements IElementFactory {
9 public final static String ID = ClientUiPlugin.ID
10 + ".processEditorInputFactory";
11
12 public IAdaptable createElement(IMemento memento) {
13 String path = memento.getString("processPath");
14 return new ProcessEditorInput(path);
15 }
16
17 }