]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor2/SCLModuleEditorInputFactory.java
LabelDecorator.decorateLabel can return null
[simantics/platform.git] / bundles / org.simantics.scl.ui / src / org / simantics / scl / ui / editor2 / SCLModuleEditorInputFactory.java
1 package org.simantics.scl.ui.editor2;
2
3 import org.eclipse.core.runtime.IAdaptable;
4 import org.eclipse.ui.IElementFactory;
5 import org.eclipse.ui.IMemento;
6
7 public class SCLModuleEditorInputFactory implements IElementFactory {
8
9     @Override
10     public IAdaptable createElement(IMemento memento) {
11         return new StandardSCLModuleEditorInput(memento.getTextData());
12     }
13
14 }