blob: f02da211de51a82cc2b92a78f984b80af4f9cd34 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
/**
* Copyright (c) 2017 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:
* Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
*/
package org.eclipse.papyrus.uml.expressions.umlexpressions.custom;
import org.eclipse.papyrus.uml.expressions.umlexpressions.HasAppliedStereotypesExpression;
import org.eclipse.papyrus.uml.expressions.umlexpressions.IsKindOfExpression;
import org.eclipse.papyrus.uml.expressions.umlexpressions.IsKindOfStereotypeExpression;
import org.eclipse.papyrus.uml.expressions.umlexpressions.IsStereotypedWithExpression;
import org.eclipse.papyrus.uml.expressions.umlexpressions.IsTypeOfExpression;
import org.eclipse.papyrus.uml.expressions.umlexpressions.IsTypeOfStereotypeExpression;
import org.eclipse.papyrus.uml.expressions.umlexpressions.impl.UMLExpressionsFactoryImpl;
/**
*
* Override the default implementation of the generated class
*
*/
public class CustomUMLExpressionsFactory extends UMLExpressionsFactoryImpl {
/**
* @see org.eclipse.papyrus.uml.expressions.umlexpressions.impl.UMLExpressionsFactoryImpl#createIsStereotypedWithExpression()
*
* @return
*/
@Override
public IsStereotypedWithExpression createIsStereotypedWithExpression() {
return new CustomIsStereotypedWithExpression();
}
/**
* @see org.eclipse.papyrus.uml.expressions.umlexpressions.impl.UMLExpressionsFactoryImpl#createHasAppliedStereotypesExpression()
*
* @return
*/
@Override
public HasAppliedStereotypesExpression createHasAppliedStereotypesExpression() {
return new CustomHasAppliedStereotypesExpression();
}
/**
* @see org.eclipse.papyrus.uml.expressions.umlexpressions.impl.UMLExpressionsFactoryImpl#createIsKindOfExpression()
*
* @return
*/
@Override
public IsKindOfExpression createIsKindOfExpression() {
return new CustomIsKindOfExpression();
}
/**
* @see org.eclipse.papyrus.uml.expressions.umlexpressions.impl.UMLExpressionsFactoryImpl#createIsTypeOfExpression()
*
* @return
*/
@Override
public IsTypeOfExpression createIsTypeOfExpression() {
return new CustomIsTypeOfExpression();
}
/***
*
* @see org.eclipse.papyrus.uml.expressions.umlexpressions.impl.UMLExpressionsFactoryImpl#createIsKindOfStereotypeExpression()
*
* @return
*/
@Override
public IsKindOfStereotypeExpression createIsKindOfStereotypeExpression() {
return new CustomIsKindOfStereotypeExpression();
}
/***
*
* @see org.eclipse.papyrus.uml.expressions.umlexpressions.impl.UMLExpressionsFactoryImpl#createIsTypeOfStereotypeExpression()
*
* @return
*/
@Override
public IsTypeOfStereotypeExpression createIsTypeOfStereotypeExpression() {
return new CustomIsTypeOfStereotypeExpression();
}
}
|