KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mountainminds > eclemma > internal > ui > actions > CoverageLastAction


1 /*******************************************************************************
2  * Copyright (c) 2006 Mountainminds GmbH & Co. KG
3  * This software is provided under the terms of the Eclipse Public License v1.0
4  * See http://www.eclipse.org/legal/epl-v10.html.
5  *
6  * $Id: CoverageLastAction.java 350 2007-07-03 06:53:21Z mtnminds $
7  ******************************************************************************/

8 package com.mountainminds.eclemma.internal.ui.actions;
9
10 import org.eclipse.debug.internal.ui.actions.RelaunchLastAction;
11
12 import com.mountainminds.eclemma.core.CoverageTools;
13 import com.mountainminds.eclemma.internal.ui.EclEmmaUIPlugin;
14 import com.mountainminds.eclemma.internal.ui.UIMessages;
15
16 /**
17  *
18  * @author Marc R. Hoffmann
19  * @version $Revision: 350 $
20  */

21 public class CoverageLastAction extends RelaunchLastAction {
22
23   public String JavaDoc getMode() {
24     return CoverageTools.LAUNCH_MODE;
25   }
26     
27   public String JavaDoc getLaunchGroupId() {
28     return EclEmmaUIPlugin.ID_COVERAGE_LAUNCH_GROUP;
29   }
30     
31   /*
32    * Implements abstract method defined in superclass since Eclipse 3.3
33    */

34   protected String JavaDoc getText() {
35     return UIMessages.CoverageLastAction_label;
36   }
37
38   /*
39    * Implements abstract method defined in superclass since Eclipse 3.3
40    */

41   protected String JavaDoc getTooltipText() {
42     return UIMessages.CoverageLastAction_label;
43   }
44
45   /*
46    * Implements abstract method defined in superclass since Eclipse 3.3
47    */

48   protected String JavaDoc getDescription() {
49     return UIMessages.CoverageLastAction_label;
50   }
51
52   /*
53    * Implements abstract method defined in superclass since Eclipse 3.3
54    */

55   protected String JavaDoc getCommandId() {
56     return "com.mountainminds.eclemma.ui.commands.CoverageLast"; //$NON-NLS-1$
57
}
58   
59 }
60
Popular Tags