blob: 1695c7e8dbaf26dcfe16f4b3b3a91b79ca4fddc2 (
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
|
/*****************************************************************************
* Copyright (c) 2010 Atos Origin.
*
*
* 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:
* Atos Origin - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.diagram.common.groups.utils;
/**
* This class contains constants used by requests concerned by groups
*
* @author vhemery
*/
public class GroupRequestConstants {
/**
* The constant to recover the list of all available elements which can contain (from a model point of view) the created element.
* Used as Parameter key in semantic requests.
*/
public static final String MODEL_CONTAINERS = "GROUP_MODEL_CONTAINERS";
/**
* The constant to recover the list of all available elements which can graphically contain the created element.
* Used as key for graphical request extended data
*/
public static final String GRAPHICAL_CONTAINERS = "GROUP_GRAPHICAL_CONTAINERS";
/**
* Used to notify the user that the notification to choose the parent failed
*/
public static final String CHOOSE_PARENT_ERROR_NOTIFICATION = "The notification failed to run because no list of avaiable parent was set up";
/**
* The constant to recover the list of all graphical graphical children after group creation
*/
public static final String GRAPHICAL_CHILDREN = "ALL_AUTOMATIC_GRAPHICAL_CHILDREN";
/**
* Constant set in the extended data of a request. It used to know if the edit part handling the request should launch a refrech to all group it
* intersect
*/
public static final String SEND_UPDATE_REFERENCE_TO_CHILDREN = "HAS_TO_SEND_UPDATE_REFERENCE_TO_CHILDREN";
/**
* Initial constrain of the element targeted by a request
*/
public static final String CONSTRAINT_AFTER_MOVING = "CONSTRAINT_AFTER_MOVING";
}
|