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/GeneralizationAppliedStereotypeEditPart.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/GeneralizationAppliedStereotypeEditPart.java65
1 files changed, 19 insertions, 46 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/GeneralizationAppliedStereotypeEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/GeneralizationAppliedStereotypeEditPart.java
index e46b270ba20..abd70340596 100644..100755
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/GeneralizationAppliedStereotypeEditPart.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/GeneralizationAppliedStereotypeEditPart.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;
@@ -112,24 +112,22 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* 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.GeneralizationAppliedStereotypeEditPart.VISUAL_ID),
+ registerSnapBackPosition(UMLVisualIDRegistry.getType(
+ org.eclipse.papyrus.uml.diagram.component.edit.parts.GeneralizationAppliedStereotypeEditPart.VISUAL_ID),
new Point(0, 60));
}
@@ -141,7 +139,7 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
}
/**
- * @generated
+ * @generated Papyrus Generation
*/
@Override
protected void createDefaultEditPolicies() {
@@ -154,7 +152,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
public int getKeyPoint() {
return ConnectionLocator.MIDDLE;
}
@@ -225,7 +222,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
protected List<?> getModelChildren() {
return Collections.EMPTY_LIST;
}
@@ -233,7 +229,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
public IGraphicalEditPart getChildBySemanticHint(String semanticHint) {
return null;
}
@@ -241,7 +236,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
public void setParser(IParser parser) {
this.parser = parser;
}
@@ -279,7 +273,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
public void setLabelText(String text) {
setLabelTextHelper(getFigure(), text);
Object pdEditPolicy = getEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE);
@@ -295,7 +288,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
public String getEditText() {
if (getParserElement() == null || getParser() == null) {
return ""; //$NON-NLS-1$
@@ -314,7 +306,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
public ICellEditorValidator getEditTextValidator() {
return new ICellEditorValidator() {
@@ -351,7 +342,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
public IContentAssistProcessor getCompletionProcessor() {
if (getParserElement() == null || getParser() == null) {
return null;
@@ -362,7 +352,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
public ParserOptions getParserOptions() {
return ParserOptions.NONE;
}
@@ -370,7 +359,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
public IParser getParser() {
if (parser == null) {
parser = ParserUtil.getParser(UMLElementTypes.Generalization_Edge, getParserElement(), this, VISUAL_ID);
@@ -433,7 +421,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
protected void performDirectEditRequest(Request request) {
final Request theRequest = request;
@@ -530,7 +517,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
protected void refreshVisuals() {
super.refreshVisuals();
refreshLabel();
@@ -592,7 +578,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
protected void refreshFont() {
FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(NotationPackage.eINSTANCE.getFontStyle());
if (style != null) {
@@ -605,7 +590,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
protected void setFontColor(Color color) {
getFigure().setForegroundColor(color);
}
@@ -613,7 +597,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
protected void addSemanticListeners() {
if (getParser() instanceof ISemanticParser) {
EObject element = resolveSemanticElement();
@@ -629,7 +612,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
protected void removeSemanticListeners() {
if (parserElements != null) {
for (int i = 0; i < parserElements.size(); i++) {
@@ -643,7 +625,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
protected AccessibleEditPart getAccessibleEditPart() {
if (accessibleEP == null) {
accessibleEP = new AccessibleGraphicalEditPart() {
@@ -666,7 +647,7 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* 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
*/
@@ -677,7 +658,7 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* Checks if an extended editor is present.
- *
+ *
* @return <code>true</code> if an extended editor is present.
* @generated
*/
@@ -690,7 +671,7 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* Checks if a default direct edition is available
- *
+ *
* @return <code>true</code> if a default direct edition is available
* @generated
*/
@@ -700,7 +681,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* Initializes the extended editor configuration
- *
* @generated
*/
protected void initExtendedEditorConfiguration() {
@@ -719,7 +699,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* Updates the preference configuration
- *
* @generated
*/
protected void updateExtendedEditorConfiguration() {
@@ -735,12 +714,10 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
}
/**
- * 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 {
@@ -772,7 +749,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
protected void handleNotificationEvent(Notification event) {
Object feature = event.getFeature();
if (NotationPackage.eINSTANCE.getFontStyle_FontColor().equals(feature)) {
@@ -809,7 +785,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
protected IFigure createFigure() {
// Parent should assign one using setLabel() method
return null;
@@ -818,7 +793,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
public String getLabelRole() {
return "Stereotype";//$NON-NLS-1$
}
@@ -826,7 +800,6 @@ public class GeneralizationAppliedStereotypeEditPart extends PapyrusLabelEditPar
/**
* @generated
*/
- @Override
public String getIconPathRole() {
return "";//$NON-NLS-1$
}

Back to the top