X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.selectionview%2Fsrc%2Forg%2Fsimantics%2Fselectionview%2FSelectionProcessorReferenceBinding.java;h=7a0e96af7bafd2dc8c57aec383408d20b587a8fc;hb=HEAD;hp=de6bc87d4507e865e4024cc21f32ee9f996acb32;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionProcessorReferenceBinding.java b/bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionProcessorReferenceBinding.java index de6bc87d4..7a0e96af7 100644 --- a/bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionProcessorReferenceBinding.java +++ b/bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionProcessorReferenceBinding.java @@ -1,32 +1,32 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.selectionview; - - -public class SelectionProcessorReferenceBinding implements SelectionProcessorBindingExtension { - - final private String browseContext; - final protected String factoryId; - - public SelectionProcessorReferenceBinding(String browseContext, String factoryId) { - this.browseContext = browseContext; - this.factoryId = factoryId; - } - - final public String getBrowseContext() { - return browseContext; - } - - public SelectionProcessor getProcessor() { - return SelectionProcessorExtensionManager.getProcessor(factoryId); - } -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.selectionview; + + +public class SelectionProcessorReferenceBinding implements SelectionProcessorBindingExtension { + + final private String browseContext; + final protected String factoryId; + + public SelectionProcessorReferenceBinding(String browseContext, String factoryId) { + this.browseContext = browseContext; + this.factoryId = factoryId; + } + + final public String getBrowseContext() { + return browseContext; + } + + public SelectionProcessor getProcessor() { + return SelectionProcessorExtensionManager.getProcessor(factoryId); + } +}