Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a6e7c02d13daedf38946b1f3d269e2586e255d72 (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
/**
 * Copyright (c) 2006, 2010, 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 v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * 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.GenDiagram

@Singleton class DiagramEditPart extends diagram.editparts.DiagramEditPart {

	@Inject aspects.impl.diagram.editparts.DiagramEditPart aspectDiagramEditPart;

	//BEGIN: PapyrusGenCode
	//patches the super type of the diagram edit part in case the controlled object represents a UML element
	override extendsList(GenDiagram it) '''extends «aspectDiagramEditPart.extendsListContents(it)»'''
	//END: PapyrusGenCode
}

Back to the top