blob: 8f41aea4d2909188fed979ca4ea316bff42a0d52 (
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
|
/*****************************************************************************
* Copyright (c) 2013 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:
* CEA LIST - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.moka.communication.request.ibreakpointlistener;
import org.eclipse.papyrus.moka.communication.Marshaller;
import org.eclipse.papyrus.moka.communication.request.RequestMessage;
import org.eclipse.papyrus.moka.debug.MokaBreakpoint;
/**
* A message representing a request for removing a breakpoint.
* This is emitted from the debug target, to the execution engine.
*
*/
public class RemoveBreakpoint_Request extends RequestMessage {
/**
* The breakpoint associated with this request message
*/
protected MokaBreakpoint breakpoint;
/**
* Constructs a request message from the given breakpoint
*
* @param breakpoint
* The breakpoint associated with this request message
*/
public RemoveBreakpoint_Request(MokaBreakpoint breakpoint) {
this.breakpoint = breakpoint;
}
/*
* (non-Javadoc)
*
* @see org.eclipse.papyrus.moka.communication.request.RequestMessage#marshall()
*/
@Override
public String marshall() {
return Marshaller.getInstance().removeBreakpoint_request_marshal(this);
}
/**
* Returns the breakpoint associated with this request message
*
* @return The breakpoint associated with this request message
*/
public MokaBreakpoint getBreakpoint() {
return this.breakpoint;
}
}
|