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/ConnectorNameEditPart.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/ConnectorNameEditPart.java60
1 files changed, 17 insertions, 43 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/ConnectorNameEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/ConnectorNameEditPart.java
index 7803cc19c5b..26a580c6440 100644..100755
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/ConnectorNameEditPart.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/src-gen/org/eclipse/papyrus/uml/diagram/component/edit/parts/ConnectorNameEditPart.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,17 +112,16 @@ public class ConnectorNameEditPart 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;
+
/**
* @generated
*/
@@ -141,7 +140,7 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
}
/**
- * @generated
+ * @generated Papyrus Generation
*/
@Override
protected void createDefaultEditPolicies() {
@@ -154,7 +153,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
public int getKeyPoint() {
return ConnectionLocator.MIDDLE;
}
@@ -225,7 +223,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
protected List<?> getModelChildren() {
return Collections.EMPTY_LIST;
}
@@ -233,7 +230,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
public IGraphicalEditPart getChildBySemanticHint(String semanticHint) {
return null;
}
@@ -241,7 +237,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
public void setParser(IParser parser) {
this.parser = parser;
}
@@ -279,7 +274,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
public void setLabelText(String text) {
setLabelTextHelper(getFigure(), text);
Object pdEditPolicy = getEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE);
@@ -295,7 +289,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
public String getEditText() {
if (getParserElement() == null || getParser() == null) {
return ""; //$NON-NLS-1$
@@ -314,7 +307,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
public ICellEditorValidator getEditTextValidator() {
return new ICellEditorValidator() {
@@ -348,7 +340,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
public IContentAssistProcessor getCompletionProcessor() {
if (getParserElement() == null || getParser() == null) {
return null;
@@ -359,7 +350,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
public ParserOptions getParserOptions() {
return ParserOptions.NONE;
}
@@ -367,7 +357,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
public IParser getParser() {
if (parser == null) {
parser = ParserUtil.getParser(UMLElementTypes.Connector_Edge, getParserElement(), this, VISUAL_ID);
@@ -430,7 +419,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
protected void performDirectEditRequest(Request request) {
final Request theRequest = request;
@@ -527,7 +515,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
protected void refreshVisuals() {
super.refreshVisuals();
refreshLabel();
@@ -589,7 +576,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
protected void refreshFont() {
FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(NotationPackage.eINSTANCE.getFontStyle());
if (style != null) {
@@ -602,7 +588,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
protected void setFontColor(Color color) {
getFigure().setForegroundColor(color);
}
@@ -610,7 +595,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
protected void addSemanticListeners() {
if (getParser() instanceof ISemanticParser) {
EObject element = resolveSemanticElement();
@@ -626,7 +610,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
protected void removeSemanticListeners() {
if (parserElements != null) {
for (int i = 0; i < parserElements.size(); i++) {
@@ -640,7 +623,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
protected AccessibleEditPart getAccessibleEditPart() {
if (accessibleEP == null) {
accessibleEP = new AccessibleGraphicalEditPart() {
@@ -663,7 +645,7 @@ public class ConnectorNameEditPart 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
*/
@@ -682,7 +664,7 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* Checks if an extended editor is present.
- *
+ *
* @return <code>true</code> if an extended editor is present.
* @generated
*/
@@ -695,7 +677,7 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* Checks if a default direct edition is available
- *
+ *
* @return <code>true</code> if a default direct edition is available
* @generated
*/
@@ -705,7 +687,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* Initializes the extended editor configuration
- *
* @generated
*/
protected void initExtendedEditorConfiguration() {
@@ -724,7 +705,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* Updates the preference configuration
- *
* @generated
*/
protected void updateExtendedEditorConfiguration() {
@@ -740,12 +720,10 @@ public class ConnectorNameEditPart 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 {
@@ -777,7 +755,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
protected void handleNotificationEvent(Notification event) {
Object feature = event.getFeature();
if (NotationPackage.eINSTANCE.getFontStyle_FontColor().equals(feature)) {
@@ -814,7 +791,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
protected IFigure createFigure() {
// Parent should assign one using setLabel() method
return null;
@@ -823,7 +799,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
public String getLabelRole() {
return "Name";//$NON-NLS-1$
}
@@ -831,7 +806,6 @@ public class ConnectorNameEditPart extends PapyrusLabelEditPart
/**
* @generated
*/
- @Override
public String getIconPathRole() {
return "";//$NON-NLS-1$
}

Back to the top