org.protege.editor.owl.model.io.IOListenerPluginLoader Maven / Gradle / Ivy
package org.protege.editor.owl.model.io;
import org.eclipse.core.runtime.IExtension;
import org.protege.editor.core.plugin.AbstractPluginLoader;
import org.protege.editor.owl.OWLEditorKit;
import org.protege.editor.owl.ProtegeOWL;
/*
* Copyright (C) 2008, University of Manchester
*
*
*/
/**
* Author: Matthew Horridge
The University Of Manchester
Information Management Group
Date:
* 16-Sep-2008
*/
public class IOListenerPluginLoader extends AbstractPluginLoader {
private OWLEditorKit editorKit;
public IOListenerPluginLoader(OWLEditorKit editorKit) {
super(ProtegeOWL.ID, IOListenerPlugin.ID);
this.editorKit = editorKit;
}
protected IOListenerPlugin createInstance(IExtension extension) {
return new IOListenerPluginImpl(extension, editorKit);
}
}