diff options
Diffstat (limited to 'plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/src-gen/org/eclipse/papyrus/uml/diagram/deployment/edit/parts/MultiDependencyLabelEditPart.java')
-rwxr-xr-x | plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/src-gen/org/eclipse/papyrus/uml/diagram/deployment/edit/parts/MultiDependencyLabelEditPart.java | 44 |
1 files changed, 35 insertions, 9 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/src-gen/org/eclipse/papyrus/uml/diagram/deployment/edit/parts/MultiDependencyLabelEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/src-gen/org/eclipse/papyrus/uml/diagram/deployment/edit/parts/MultiDependencyLabelEditPart.java index 2bf8633efdb..12b2d691fc8 100755 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/src-gen/org/eclipse/papyrus/uml/diagram/deployment/edit/parts/MultiDependencyLabelEditPart.java +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/src-gen/org/eclipse/papyrus/uml/diagram/deployment/edit/parts/MultiDependencyLabelEditPart.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 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 - * + * * Contributors: * CEA LIST - Initial API and implementation */ @@ -114,12 +114,14 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * 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; @@ -141,6 +143,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override protected void createDefaultEditPolicies() { super.createDefaultEditPolicies(); installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new LabelDirectEditPolicy()); @@ -151,6 +154,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override public IBorderItemLocator getBorderItemLocator() { IFigure parentFigure = getFigure().getParent(); if (parentFigure != null && parentFigure.getLayoutManager() != null) { @@ -163,6 +167,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override public void refreshBounds() { int x = ((Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE.getLocation_X())).intValue(); int y = ((Integer) getStructuralFeatureValue(NotationPackage.eINSTANCE.getLocation_Y())).intValue(); @@ -237,6 +242,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override protected List<?> getModelChildren() { return Collections.EMPTY_LIST; } @@ -244,6 +250,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override public IGraphicalEditPart getChildBySemanticHint(String semanticHint) { return null; } @@ -289,6 +296,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override public void setLabelText(String text) { setLabelTextHelper(getFigure(), text); Object pdEditPolicy = getEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE); @@ -304,6 +312,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override public String getEditText() { if (getParserElement() == null || getParser() == null) { return ""; //$NON-NLS-1$ @@ -323,6 +332,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override public ICellEditorValidator getEditTextValidator() { return new ICellEditorValidator() { @@ -355,6 +365,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override public IContentAssistProcessor getCompletionProcessor() { if (getParserElement() == null || getParser() == null) { return null; @@ -365,6 +376,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override public ParserOptions getParserOptions() { return ParserOptions.NONE; } @@ -372,6 +384,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override public IParser getParser() { if (parser == null) { parser = ParserUtil.getParser(UMLElementTypes.Dependency_Shape, getParserElement(), this, VISUAL_ID); @@ -434,6 +447,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override protected void performDirectEditRequest(Request request) { final Request theRequest = request; @@ -523,6 +537,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override protected void refreshVisuals() { super.refreshVisuals(); refreshLabel(); @@ -592,6 +607,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override protected void refreshFont() { FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle( NotationPackage.eINSTANCE.getFontStyle()); @@ -607,6 +623,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override protected void setFontColor(Color color) { getFigure().setForegroundColor(color); } @@ -614,6 +631,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override protected void addSemanticListeners() { if (getParser() instanceof ISemanticParser) { EObject element = resolveSemanticElement(); @@ -629,6 +647,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override protected void removeSemanticListeners() { if (parserElements != null) { for (int i = 0; i < parserElements.size(); i++) { @@ -642,6 +661,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override protected AccessibleEditPart getAccessibleEditPart() { if (accessibleEP == null) { accessibleEP = new AccessibleGraphicalEditPart() { @@ -664,7 +684,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * 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 */ @@ -683,7 +703,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * Checks if an extended editor is present. - * + * * @return <code>true</code> if an extended editor is present. * @generated */ @@ -696,7 +716,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * Checks if a default direct edition is available - * + * * @return <code>true</code> if a default direct edition is available * @generated */ @@ -706,6 +726,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * Initializes the extended editor configuration + * * @generated */ protected void initExtendedEditorConfiguration() { @@ -721,6 +742,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * Updates the preference configuration + * * @generated */ protected void updateExtendedEditorConfiguration() { @@ -734,10 +756,12 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart } /** - * 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 { @@ -767,6 +791,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override protected void handleNotificationEvent(Notification event) { Object feature = event.getFeature(); if (NotationPackage.eINSTANCE.getFontStyle_FontColor().equals(feature)) { @@ -802,6 +827,7 @@ public class MultiDependencyLabelEditPart extends PapyrusLabelEditPart /** * @generated */ + @Override protected IFigure createFigure() { IFigure label = createFigurePrim(); defaultText = getLabelTextHelper(label); |