blob: 3d7a2327c0e5abe84d8a7b3eec349fe64b755a18 (
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
|
/*****************************************************************************
* Copyright (c) 2018 Christian W. Damus, 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:
* Christian W. Damus - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.uml.diagram.sequence.edit.parts;
import java.util.Optional;
import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
import org.eclipse.uml2.uml.MessageEnd;
import org.eclipse.uml2.uml.TimeConstraint;
import org.eclipse.uml2.uml.TimeObservation;
/**
* Protocol for the border-item edit parts controlling the presentation of
* {@link TimeObservation}s and {@link TimeConstraint}s.
*/
public interface ITimeElementBorderNodeEditPart extends IBorderItemEditPart {
/**
* Obtain the message end that is my time event, if any.
*
* @return my message end, or {@code null} if I do not observe or constrain a message end
*/
Optional<MessageEnd> getMessageEnd();
}
|