blob: b392cc05ff2c642b7dc69b59fee586cb66c2c5a5 (
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
|
/*****************************************************************************
* Copyright (c) 2015 CEA LIST 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:
* CEA LIST - Initial API and implementation
* Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
*
*****************************************************************************/
package org.eclipse.papyrus.uml.diagram.sequence.migration;
import java.util.Arrays;
import java.util.List;
import org.eclipse.papyrus.infra.gmfdiag.common.reconciler.ReconcilerForCompartment;
/**
* Diagram Reconciler for compartment from 1.1.0 to 1.2.0
*/
public class SequenceReconcilerForCompartment extends ReconcilerForCompartment {
private static final String InteractionInteractionCompartmentEditPart_VISUAL_ID = "7001";
private static final String CombinedFragmentCombinedFragmentCompartmentEditPart_VISUAL_ID = "7004";
/** The compartments visual id. */
private List<String> compartmentsVisualID = Arrays.asList(
InteractionInteractionCompartmentEditPart_VISUAL_ID,
CombinedFragmentCombinedFragmentCompartmentEditPart_VISUAL_ID);
/**
* Gets the compartments visual id.
*
* @return the compartments visual id
* @see org.eclipse.papyrus.infra.gmfdiag.common.reconciler.ReconcilerForCompartment#getCompartmentsVisualID()
*/
@Override
public List<String> getCompartmentsVisualID() {
return compartmentsVisualID;
}
}
|