diff options
Diffstat (limited to 'plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.groups/src/org/eclipse/papyrus/uml/diagram/common/groups/tabbedproperties/appearance/ChooseGraphicalParentSection.java')
-rw-r--r-- | plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.groups/src/org/eclipse/papyrus/uml/diagram/common/groups/tabbedproperties/appearance/ChooseGraphicalParentSection.java | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.groups/src/org/eclipse/papyrus/uml/diagram/common/groups/tabbedproperties/appearance/ChooseGraphicalParentSection.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.groups/src/org/eclipse/papyrus/uml/diagram/common/groups/tabbedproperties/appearance/ChooseGraphicalParentSection.java index f71e2801ed8..636b850d4c6 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.groups/src/org/eclipse/papyrus/uml/diagram/common/groups/tabbedproperties/appearance/ChooseGraphicalParentSection.java +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.groups/src/org/eclipse/papyrus/uml/diagram/common/groups/tabbedproperties/appearance/ChooseGraphicalParentSection.java @@ -1,47 +1,47 @@ -/*****************************************************************************
- * Copyright (c) 2010 Atos Origin.
- *
- *
- * 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:
- * Atos Origin - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.common.groups.tabbedproperties.appearance;
-
-import org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractNotationPropertiesSection;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Composite;
-
-/**
- * Section to use in the properties view. This section enables to choose which of the possible parents graphically contains the selected node.
- *
- * @author vhemery
- */
-public class ChooseGraphicalParentSection extends AbstractNotationPropertiesSection {
-
- /** The switch image. */
- public static Image switchImage = null;
-
- /** Load the switch icon once */
- static {
- // //load images
- // try {
- // switchImage = new Image(Display.getDefault(), Activator.getDefault().getBundle().getResource(ICON_PATH).openStream());
- // } catch (IOException e) {
- // Activator.getDefault().getLog().log(new Status(Status.WARNING, Activator.PLUGIN_ID, e.getMessage(), e));
- // }
- }
-
- /**
- * Create controls to enable direction switch
- */
- @Override
- public void initializeControls(Composite parent) {
- super.initializeControls(parent);
- }
-}
+/***************************************************************************** + * Copyright (c) 2010 Atos Origin. + * + * + * 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: + * Atos Origin - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.uml.diagram.common.groups.tabbedproperties.appearance; + +import org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractNotationPropertiesSection; +import org.eclipse.swt.graphics.Image; +import org.eclipse.swt.widgets.Composite; + +/** + * Section to use in the properties view. This section enables to choose which of the possible parents graphically contains the selected node. + * + * @author vhemery + */ +public class ChooseGraphicalParentSection extends AbstractNotationPropertiesSection { + + /** The switch image. */ + public static Image switchImage = null; + + /** Load the switch icon once */ + static { + // //load images + // try { + // switchImage = new Image(Display.getDefault(), Activator.getDefault().getBundle().getResource(ICON_PATH).openStream()); + // } catch (IOException e) { + // Activator.getDefault().getLog().log(new Status(Status.WARNING, Activator.PLUGIN_ID, e.getMessage(), e)); + // } + } + + /** + * Create controls to enable direction switch + */ + @Override + public void initializeControls(Composite parent) { + super.initializeControls(parent); + } +} |