blob: 5bb37fe68d96b0149333f21adfff12dd9be8dbe6 (
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
39
40
|
/*****************************************************************************
* Copyright (c) 2019 CEA LIST 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
* http://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.uml.expressions.edit.internal.sections;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.papyrus.emf.ui.properties.AbstractEObjectAdvancedPropertySection;
import org.eclipse.ui.views.properties.IPropertySource;
/**
* PropertySection for UML Expression
*
*/
public class UMLExpressionPropertySection extends AbstractEObjectAdvancedPropertySection {
/**
*
* @see org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.properties.sections.AbstractEObjectAdvancedPropertySection#createPropertySource(java.lang.Object, org.eclipse.emf.edit.provider.IItemPropertySource)
*
* @param object
* @param itemPropertySource
* @return
*/
@Override
public IPropertySource createPropertySource(final Object object, final IItemPropertySource itemPropertySource) {
return new UMLExpressionPropertySource(object, itemPropertySource);
}
}
|