Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e14291147f6b3504bf26019f070a4f17b7c2da95 (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
34
35
36
37
38
/*****************************************************************************
 * 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
 *****************************************************************************/
package org.eclipse.papyrusrt.umlrt.tooling.ui.widgets;

import org.eclipse.papyrus.infra.widgets.editors.ReferenceDialog;
import org.eclipse.swt.widgets.Composite;

/**
 * Specific Reference editor for RTPort Type
 */
public class CapsulePartTypeEditor extends ReferenceDialog {

	public CapsulePartTypeEditor(Composite parent, int style) {
		super(parent, style);
	}

	/**
	 * Creates the reference dialog.
	 *
	 * @param parent
	 *            The composite in which the widget will be displayed
	 * @param style
	 *            The style for the widget
	 * @return the reference dialog.
	 */
	protected ReferenceDialog createReferenceDialog(Composite parent, int style) {
		return new CapsulePartTypeDialog(parent, style);
	}
}

Back to the top