blob: edc1bda6e334627d86550f1aa788d30ad4c44dab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*****************************************************************************
* Copyright (c) 2006, 2009, 2013 Borland Software Corporation and others
*
* 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:
* Dmitry Stadnik (Borland) - initial API and implementation
* Alexander Shatalin (Borland) - initial API and implementation
* Michael Golubev (Montages) - #386838 - migrate to Xtend2
*
*****************************************************************************/
package aspects.diagram.editparts
import com.google.inject.Inject
import com.google.inject.Singleton
import org.eclipse.gmf.codegen.gmfgen.GenLink
@Singleton class LinkEditPart extends diagram.editparts.LinkEditPart {
@Inject aspects.impl.diagram.editparts.LinkEditPart aspectsLinkEditPart;
//BEGIN: PapyrusGenCode
//patches the super type of the link edit part in case the controlled object represents a UML element
override extendsList(GenLink it) '''extends «aspectsLinkEditPart.extendsListContents(it)»'''
//END: PapyrusGenCode
}
|