X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=inline;f=bundles%2Forg.simantics.browsing.ui.swt%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fswt%2FIContextMenuInitializer.java;h=d6f3733d0bc8e55341a656a1e83ff11a03e56cc4;hb=99395a7780ef1626d3ae97183ef4ae717f32b215;hp=ea741be2fd51b333425e960a01be12246f4d8d0d;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git
diff --git a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/IContextMenuInitializer.java b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/IContextMenuInitializer.java
index ea741be2f..d6f3733d0 100644
--- a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/IContextMenuInitializer.java
+++ b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/IContextMenuInitializer.java
@@ -1,40 +1,40 @@
-/*******************************************************************************
- * 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.browsing.ui.swt;
-
-import org.eclipse.jface.action.IMenuManager;
-import org.eclipse.jface.viewers.ISelectionProvider;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.ui.IWorkbenchSite;
-
-/**
- * An interface for defining an initializer for an SWT context menu with a JFace
- * selection provider.
- *
- * @author Tuukka Lehtonen
- * @see ContextMenuInitializer
- */
-public interface IContextMenuInitializer {
-
- /**
- * @param control the explorer component to add a context menu into
- * @param selectionProvider a provider for the selection of the specified control
- * @param site the workbench site to register the context menu for, may be
- * null
- * @return the created context menu manager
- */
- IMenuManager createContextMenu(
- Control control,
- ISelectionProvider selectionProvider,
- IWorkbenchSite site);
-
+/*******************************************************************************
+ * 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.browsing.ui.swt;
+
+import org.eclipse.jface.action.IMenuManager;
+import org.eclipse.jface.viewers.ISelectionProvider;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.ui.IWorkbenchSite;
+
+/**
+ * An interface for defining an initializer for an SWT context menu with a JFace
+ * selection provider.
+ *
+ * @author Tuukka Lehtonen
+ * @see ContextMenuInitializer
+ */
+public interface IContextMenuInitializer {
+
+ /**
+ * @param control the explorer component to add a context menu into
+ * @param selectionProvider a provider for the selection of the specified control
+ * @param site the workbench site to register the context menu for, may be
+ * null
+ * @return the created context menu manager
+ */
+ IMenuManager createContextMenu(
+ Control control,
+ ISelectionProvider selectionProvider,
+ IWorkbenchSite site);
+
}
\ No newline at end of file