Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/RectangleInterfaceFloatingLabelEditPart.java')
-rwxr-xr-x[-rw-r--r--]plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/RectangleInterfaceFloatingLabelEditPart.java63
1 files changed, 19 insertions, 44 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/RectangleInterfaceFloatingLabelEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/RectangleInterfaceFloatingLabelEditPart.java
index 483e9951aa2..f56e800bfc1 100644..100755
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/RectangleInterfaceFloatingLabelEditPart.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/RectangleInterfaceFloatingLabelEditPart.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.component.edit.parts;
@@ -113,24 +113,22 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* direct edition mode (default, undefined, registered editor, etc.)
- *
* @generated
*/
protected int directEditionMode = IDirectEdition.UNDEFINED_DIRECT_EDITOR;
/**
* configuration from a registered edit dialog
- *
* @generated
*/
protected IDirectEditorConfiguration configuration;
+
/**
* @generated
*/
static {
- registerSnapBackPosition(
- UMLVisualIDRegistry.getType(
- org.eclipse.papyrus.uml.diagram.component.edit.parts.RectangleInterfaceFloatingLabelEditPart.VISUAL_ID),
+ registerSnapBackPosition(UMLVisualIDRegistry.getType(
+ org.eclipse.papyrus.uml.diagram.component.edit.parts.RectangleInterfaceFloatingLabelEditPart.VISUAL_ID),
new Point(0, 0));
}
@@ -144,7 +142,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
protected void createDefaultEditPolicies() {
super.createDefaultEditPolicies();
installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new LabelDirectEditPolicy());
@@ -155,7 +152,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
public IBorderItemLocator getBorderItemLocator() {
IFigure parentFigure = getFigure().getParent();
if (parentFigure != null && parentFigure.getLayoutManager() != null) {
@@ -168,7 +164,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
public void refreshBounds() {
int x = ((Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE.getLocation_X())).intValue();
int y = ((Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE.getLocation_Y())).intValue();
@@ -243,7 +238,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
protected List<?> getModelChildren() {
return Collections.EMPTY_LIST;
}
@@ -251,7 +245,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
public IGraphicalEditPart getChildBySemanticHint(String semanticHint) {
return null;
}
@@ -296,7 +289,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
public void setLabelText(String text) {
setLabelTextHelper(getFigure(), text);
Object pdEditPolicy = getEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE);
@@ -312,7 +304,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
public String getEditText() {
if (getParserElement() == null || getParser() == null) {
return ""; //$NON-NLS-1$
@@ -331,7 +322,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
public ICellEditorValidator getEditTextValidator() {
return new ICellEditorValidator() {
@@ -368,7 +358,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
public IContentAssistProcessor getCompletionProcessor() {
if (getParserElement() == null || getParser() == null) {
return null;
@@ -379,7 +368,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
public ParserOptions getParserOptions() {
return ParserOptions.NONE;
}
@@ -387,7 +375,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
public IParser getParser() {
if (parser == null) {
parser = ParserUtil.getParser(UMLElementTypes.Interface_ClassifierShape, getParserElement(), this,
@@ -451,7 +438,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
protected void performDirectEditRequest(Request request) {
final Request theRequest = request;
@@ -548,7 +534,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
protected void refreshVisuals() {
super.refreshVisuals();
refreshLabel();
@@ -610,7 +595,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
protected void refreshFont() {
FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(NotationPackage.eINSTANCE.getFontStyle());
if (style != null) {
@@ -623,7 +607,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
protected void setFontColor(Color color) {
getFigure().setForegroundColor(color);
}
@@ -631,7 +614,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
protected void addSemanticListeners() {
if (getParser() instanceof ISemanticParser) {
EObject element = resolveSemanticElement();
@@ -647,7 +629,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
protected void removeSemanticListeners() {
if (parserElements != null) {
for (int i = 0; i < parserElements.size(); i++) {
@@ -661,7 +642,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
protected AccessibleEditPart getAccessibleEditPart() {
if (accessibleEP == null) {
accessibleEP = new AccessibleGraphicalEditPart() {
@@ -684,7 +664,7 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* Returns the kind of associated editor for direct edition.
- *
+ *
* @return an <code>int</code> corresponding to the kind of direct editor, @see org.eclipse.papyrus.uml.diagram.common.editpolicies.IDirectEdition
* @generated
*/
@@ -703,7 +683,7 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* Checks if an extended editor is present.
- *
+ *
* @return <code>true</code> if an extended editor is present.
* @generated
*/
@@ -716,7 +696,7 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* Checks if a default direct edition is available
- *
+ *
* @return <code>true</code> if a default direct edition is available
* @generated
*/
@@ -726,7 +706,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* Initializes the extended editor configuration
- *
* @generated
*/
protected void initExtendedEditorConfiguration() {
@@ -745,7 +724,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* Updates the preference configuration
- *
* @generated
*/
protected void updateExtendedEditorConfiguration() {
@@ -761,12 +739,10 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
}
/**
- * Performs the direct edit usually used by GMF editors.
- *
- * @param theRequest
- * the direct edit request that starts the direct edit system
- * @generated
- */
+ * Performs the direct edit usually used by GMF editors.
+ * @param theRequest the direct edit request that starts the direct edit system
+ * @generated
+ */
protected void performDefaultDirectEditorEdit(final Request theRequest) {
// initialize the direct edit manager
try {
@@ -798,7 +774,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
protected void handleNotificationEvent(Notification event) {
Object feature = event.getFeature();
if (NotationPackage.eINSTANCE.getFontStyle_FontColor().equals(feature)) {
@@ -834,7 +809,6 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
/**
* @generated
*/
- @Override
protected IFigure createFigure() {
IFigure label = createFigurePrim();
defaultText = getLabelTextHelper(label);
@@ -847,4 +821,5 @@ public class RectangleInterfaceFloatingLabelEditPart extends FloatingLabelEditPa
protected IFigure createFigurePrim() {
return new PapyrusWrappingLabel();
}
+
}

Back to the top