X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2FdiagramEditor%2Ftools%2FDiagramTools.java;h=73ac8b4d6db4cabbc08b7bcaf1e8852eb3b4c65a;hb=a5ea1d2c1959b9aec22a73381efe11b9d162f684;hp=37d76fa4a5433c73a25d02277d0d47267db88c8f;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/tools/DiagramTools.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/tools/DiagramTools.java index 37d76fa4a..73ac8b4d6 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/tools/DiagramTools.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/tools/DiagramTools.java @@ -1,46 +1,46 @@ -/******************************************************************************* - * 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.modeling.ui.diagramEditor.tools; - -import org.eclipse.jface.resource.LocalResourceManager; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.ui.forms.widgets.FormToolkit; - -/** - * Interface for diagramming tools - * - * @author Marko Luukkainen - * - */ -public interface DiagramTools { - - /** - * Name that is show to user. - * @return - */ - public String getName(); - - /** - * Create UI - * @param parent - */ - void createContols(Composite parent, FormToolkit toolkit, LocalResourceManager resourceManager); - - void setSelection(ISelection selection); - - /** - * Dispose. - */ - void dispose(); - -} +/******************************************************************************* + * 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.modeling.ui.diagramEditor.tools; + +import org.eclipse.jface.resource.LocalResourceManager; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.ui.forms.widgets.FormToolkit; + +/** + * Interface for diagramming tools + * + * @author Marko Luukkainen + * + */ +public interface DiagramTools { + + /** + * Name that is show to user. + * @return + */ + public String getName(); + + /** + * Create UI + * @param parent + */ + void createContols(Composite parent, FormToolkit toolkit, LocalResourceManager resourceManager); + + void setSelection(ISelection selection); + + /** + * Dispose. + */ + void dispose(); + +}