diff options
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.widgets.celleditors.ecore/src/org/eclipse/papyrus/emf/facet/widgets/celleditors/ecore/composite/FloatCompositeFactory.java')
-rw-r--r-- | plugins/facet/org.eclipse.papyrus.emf.facet.widgets.celleditors.ecore/src/org/eclipse/papyrus/emf/facet/widgets/celleditors/ecore/composite/FloatCompositeFactory.java | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.widgets.celleditors.ecore/src/org/eclipse/papyrus/emf/facet/widgets/celleditors/ecore/composite/FloatCompositeFactory.java b/plugins/facet/org.eclipse.papyrus.emf.facet.widgets.celleditors.ecore/src/org/eclipse/papyrus/emf/facet/widgets/celleditors/ecore/composite/FloatCompositeFactory.java index 6fe67ba6029..9d25f3bec32 100644 --- a/plugins/facet/org.eclipse.papyrus.emf.facet.widgets.celleditors.ecore/src/org/eclipse/papyrus/emf/facet/widgets/celleditors/ecore/composite/FloatCompositeFactory.java +++ b/plugins/facet/org.eclipse.papyrus.emf.facet.widgets.celleditors.ecore/src/org/eclipse/papyrus/emf/facet/widgets/celleditors/ecore/composite/FloatCompositeFactory.java @@ -1,29 +1,29 @@ -/*******************************************************************************
- * Copyright (c) 2011 Mia-Software.
- * 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:
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * Nicolas Guyomar (Mia-Software) - Bug 334546 - [celleditors] no border on Text field
- * Nicolas Bros (Mia-Software) - Bug 338437 - compositeEditors extension point cannot be used to register user types
- *******************************************************************************/
-package org.eclipse.papyrus.emf.facet.widgets.celleditors.ecore.composite;
-
-import org.eclipse.papyrus.emf.facet.widgets.celleditors.AbstractCellEditorComposite;
-import org.eclipse.papyrus.emf.facet.widgets.celleditors.ICompositeEditorFactory;
-import org.eclipse.swt.widgets.Composite;
-
-public class FloatCompositeFactory implements ICompositeEditorFactory<Float> {
-
- public AbstractCellEditorComposite<Float> createCompositeEditor(final Composite parent, final int style) {
- return new FloatComposite(parent, style);
- }
-
- public Class<Float> getHandledType() {
- return Float.class;
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2011 Mia-Software. + * 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: + * Fabien Giquel (Mia-Software) - initial API and implementation + * Nicolas Guyomar (Mia-Software) - Bug 334546 - [celleditors] no border on Text field + * Nicolas Bros (Mia-Software) - Bug 338437 - compositeEditors extension point cannot be used to register user types + *******************************************************************************/ +package org.eclipse.papyrus.emf.facet.widgets.celleditors.ecore.composite; + +import org.eclipse.papyrus.emf.facet.widgets.celleditors.AbstractCellEditorComposite; +import org.eclipse.papyrus.emf.facet.widgets.celleditors.ICompositeEditorFactory; +import org.eclipse.swt.widgets.Composite; + +public class FloatCompositeFactory implements ICompositeEditorFactory<Float> { + + public AbstractCellEditorComposite<Float> createCompositeEditor(final Composite parent, final int style) { + return new FloatComposite(parent, style); + } + + public Class<Float> getHandledType() { + return Float.class; + } + +} |