Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/src-gen/org/eclipse/papyrus/uml/diagram/clazz/edit/parts/ComponentNestedClassifierCompartmentEditPartCN.java')
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/src-gen/org/eclipse/papyrus/uml/diagram/clazz/edit/parts/ComponentNestedClassifierCompartmentEditPartCN.java37
1 files changed, 19 insertions, 18 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/src-gen/org/eclipse/papyrus/uml/diagram/clazz/edit/parts/ComponentNestedClassifierCompartmentEditPartCN.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/src-gen/org/eclipse/papyrus/uml/diagram/clazz/edit/parts/ComponentNestedClassifierCompartmentEditPartCN.java
index d215e5eacca..a78be7525a9 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/src-gen/org/eclipse/papyrus/uml/diagram/clazz/edit/parts/ComponentNestedClassifierCompartmentEditPartCN.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/src-gen/org/eclipse/papyrus/uml/diagram/clazz/edit/parts/ComponentNestedClassifierCompartmentEditPartCN.java
@@ -1,13 +1,13 @@
/**
* Copyright (c) 2014 CEA LIST.
- *
- * 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:
- * CEA LIST - Initial API and implementation
+ *
+ * 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:
+ * CEA LIST - Initial API and implementation
*/
package org.eclipse.papyrus.uml.diagram.clazz.edit.parts;
@@ -37,7 +37,9 @@ import org.eclipse.papyrus.uml.diagram.common.editpolicies.PasteEditPolicy;
/**
* @generated
*/
-public class ComponentNestedClassifierCompartmentEditPartCN extends ResizeableListCompartmentEditPart {
+public class ComponentNestedClassifierCompartmentEditPartCN
+ extends
+ ResizeableListCompartmentEditPart {
/**
* @generated
@@ -54,7 +56,6 @@ public class ComponentNestedClassifierCompartmentEditPartCN extends ResizeableLi
/**
* @generated
*/
- @Override
protected boolean hasModelChildrenChanged(Notification evt) {
return false;
}
@@ -62,15 +63,14 @@ public class ComponentNestedClassifierCompartmentEditPartCN extends ResizeableLi
/**
* @generated
*/
- @Override
public String getCompartmentName() {
return Messages.ComponentNestedClassifierCompartmentEditPartCN_title;
}
+
/**
* @generated
*/
- @Override
protected void createDefaultEditPolicies() {
super.createDefaultEditPolicies();
installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE, new ResizableCompartmentEditPolicy());
@@ -86,10 +86,12 @@ public class ComponentNestedClassifierCompartmentEditPartCN extends ResizeableLi
installEditPolicy(EditPolicyRoles.CREATION_ROLE, new NestedClazzCompartmentCreationEditPolicy());
}
+
+
+
/**
* @generated
*/
- @Override
protected void setRatio(Double ratio) {
if (getFigure().getParent().getLayoutManager() instanceof ConstrainedToolbarLayout) {
super.setRatio(ratio);
@@ -99,7 +101,6 @@ public class ComponentNestedClassifierCompartmentEditPartCN extends ResizeableLi
/**
* @generated
*/
- @Override
public EditPart getTargetEditPart(Request request) {
return super.getTargetEditPart(request);
@@ -108,7 +109,6 @@ public class ComponentNestedClassifierCompartmentEditPartCN extends ResizeableLi
/**
* @generated
*/
- @Override
protected void handleNotificationEvent(Notification notification) {
Object feature = notification.getFeature();
if (NotationPackage.eINSTANCE.getSize_Width().equals(feature)
@@ -123,7 +123,6 @@ public class ComponentNestedClassifierCompartmentEditPartCN extends ResizeableLi
/**
* @generated
*/
- @Override
protected void refreshBounds() {
int width = ((Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE.getSize_Width())).intValue();
int height = ((Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE.getSize_Height())).intValue();
@@ -131,13 +130,15 @@ public class ComponentNestedClassifierCompartmentEditPartCN extends ResizeableLi
int x = ((Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE.getLocation_X())).intValue();
int y = ((Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE.getLocation_Y())).intValue();
Point loc = new Point(x, y);
- ((GraphicalEditPart) getParent()).setLayoutConstraint(this, getFigure(), new Rectangle(loc, size));
+ ((GraphicalEditPart) getParent()).setLayoutConstraint(
+ this,
+ getFigure(),
+ new Rectangle(loc, size));
}
/**
* @generated
*/
- @Override
protected void refreshVisuals() {
super.refreshVisuals();
refreshBounds();

Back to the top