changeset 10 | ed1c9f64298a |
9:14dc2103a631 | 10:ed1c9f64298a |
---|---|
1 /* |
|
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 * Editor action delegate for add trace command |
|
17 * |
|
18 */ |
|
19 package com.nokia.tracebuilder.action; |
|
20 |
|
21 import com.nokia.tracebuilder.engine.TraceBuilderGlobals; |
|
22 import com.nokia.tracebuilder.model.TraceBuilderException; |
|
23 |
|
24 /** |
|
25 * Editor action delegate for add trace command |
|
26 * |
|
27 */ |
|
28 public class AddTraceFromEditor extends TraceBuilderEditorAction { |
|
29 |
|
30 /* |
|
31 * (non-Javadoc) |
|
32 * |
|
33 * @see com.nokia.tracebuilder.action.TraceBuilderEditorAction#doRun() |
|
34 */ |
|
35 @Override |
|
36 protected void doRun() throws TraceBuilderException { |
|
37 TraceBuilderGlobals.getTraceBuilder().addTrace(); |
|
38 } |
|
39 } |