1 package org
.argeo
.slc
.client
.ui
.editors
;
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
;
8 public class ProcessEditorInputFactory
implements IElementFactory
{
9 public final static String ID
= ClientUiPlugin
.ID
10 + ".processEditorInputFactory";
12 public IAdaptable
createElement(IMemento memento
) {
13 String path
= memento
.getString("processPath");
14 return new ProcessEditorInput(path
);