X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.ui%2Fsrc%2Forg%2Fsimantics%2Fui%2Fcontribution%2FNameLabelContribution.java;h=f6b54424ece1510a8f8e0c894ed0e1fa1573d572;hb=560d8aa2e37cb6b0249aec6d7e96e67d5a64c59f;hp=e3ca7443de195a51dba1936d5cd3e16d63a95450;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.ui/src/org/simantics/ui/contribution/NameLabelContribution.java b/bundles/org.simantics.ui/src/org/simantics/ui/contribution/NameLabelContribution.java index e3ca7443d..f6b54424e 100644 --- a/bundles/org.simantics.ui/src/org/simantics/ui/contribution/NameLabelContribution.java +++ b/bundles/org.simantics.ui/src/org/simantics/ui/contribution/NameLabelContribution.java @@ -1,34 +1,34 @@ -/******************************************************************************* - * 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.ui.contribution; - -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Control; -import org.eclipse.ui.menus.WorkbenchWindowControlContribution; - - -/** - * @author Tuukka Lehtonen - */ -public class NameLabelContribution extends WorkbenchWindowControlContribution { - - @Override - public String getId() { - return "org.simantics.ui.nameLabel"; - } - - @Override - protected Control createControl(Composite parent) { - return new NameLabelButtonTrim(parent); - } - -} +/******************************************************************************* + * 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.ui.contribution; + +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.ui.menus.WorkbenchWindowControlContribution; + + +/** + * @author Tuukka Lehtonen + */ +public class NameLabelContribution extends WorkbenchWindowControlContribution { + + @Override + public String getId() { + return "org.simantics.ui.nameLabel"; + } + + @Override + protected Control createControl(Composite parent) { + return new NameLabelButtonTrim(parent); + } + +}