blob: c0a5198cacd73c3033e486351adf8ddd0596c453 (
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
|
/*****************************************************************************
* Copyright (c) 2010 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:
* Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.uml.diagram.clazz.custom.policies;
import java.util.Collection;
import java.util.Collections;
import org.eclipse.papyrus.uml.tools.utils.ICustomAppearence;
/**
* this class enables to refresh the multiplicity label of the association end (target)
*
*/
public class DisplayAssociationEndTargetMultiplicityEditPolicy extends DisplayAssociationEndTargetEditPolicy {
/**
*
* @see org.eclipse.papyrus.uml.diagram.clazz.custom.policies.DisplayAssociationEndEditPolicy#getDefaultDisplayValue()
*
*/
@Override
public Collection<String> getDefaultDisplayValue() {
return Collections.singleton(ICustomAppearence.DISP_MULTIPLICITY);
}
}
|