X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.browsing.ui.swt%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fswt%2FWorkbenchSelectionFilter.java;h=8b9038a5a995d20b1ddd352901057236148125dd;hb=refs%2Fchanges%2F05%2F805%2F1;hp=d1c1cbd40b8848abe8d3d28380c6be070206868b;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git
diff --git a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/WorkbenchSelectionFilter.java b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/WorkbenchSelectionFilter.java
index d1c1cbd40..8b9038a5a 100644
--- a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/WorkbenchSelectionFilter.java
+++ b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/WorkbenchSelectionFilter.java
@@ -1,33 +1,33 @@
-/*******************************************************************************
- * Copyright (c) 2007, 2012 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.browsing.ui.swt;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.ui.IWorkbenchPart;
-
-/**
- * A hack to filter whether OntologyExplorer responds to workbench page
- * selection changes.
- *
- * @author Tuukka Lehtonen
- */
-public interface WorkbenchSelectionFilter {
-
- /**
- * @param part
- * @param s
- * @return null
to deny the whole selection, otherwise the
- * new possibly filtered selection to use
- */
- ISelection filterSelection(IWorkbenchPart part, ISelection s);
-
-}
+/*******************************************************************************
+ * Copyright (c) 2007, 2012 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.browsing.ui.swt;
+
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.ui.IWorkbenchPart;
+
+/**
+ * A hack to filter whether OntologyExplorer responds to workbench page
+ * selection changes.
+ *
+ * @author Tuukka Lehtonen
+ */
+public interface WorkbenchSelectionFilter {
+
+ /**
+ * @param part
+ * @param s
+ * @return null
to deny the whole selection, otherwise the
+ * new possibly filtered selection to use
+ */
+ ISelection filterSelection(IWorkbenchPart part, ISelection s);
+
+}