
io.github.liveontologies.protege.justification.proof.service.JustificationProofPluginLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protege-proof-justification Show documentation
Show all versions of protege-proof-justification Show documentation
A plug-in for the [Protégé Desktop](https://protege.stanford.edu) ontology editor that provides a service for the
[Protege Justification Explanation](https://github.com/liveontologies/protege-justification-explanation) plug-in.
This service computes justifications from proofs using the
[Proof Utility Library PuLI](https://github.com/liveontologies/puli).
The newest version!
package io.github.liveontologies.protege.justification.proof.service;
/*-
* #%L
* Protege Proof Justification Explanation
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2016 - 2017 Live Ontologies Project
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import org.eclipse.core.runtime.IExtension;
import org.protege.editor.core.plugin.AbstractPluginLoader;
import org.protege.editor.owl.OWLEditorKit;
/**
* Load the available specified {@link JustificationProofService} plugins
*
* @author Alexander Date: 23/02/2017
*/
public class JustificationProofPluginLoader extends AbstractPluginLoader {
private final OWLEditorKit editorKit_;
/**
* Constructs new plugin instance
*
* @param editorKit
* owl-related parts of Protege
*/
public JustificationProofPluginLoader(OWLEditorKit editorKit) {
super(ProofPlugin.KEY, ProofPlugin.ID);
editorKit_ = editorKit;
}
@Override
protected ProofPlugin createInstance(IExtension extension) {
return new ProofPlugin(editorKit_, extension);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy