Source code: com/klavergne/jext/plugins/clearcase/actions/MergeManagerAction.java
1 /*
2 * 12/13/2001 - 15:41:35
3 *
4 * ClearCasePlugin.java - Plugin for Jext to integrate ClearCase
5 * Copyright (C) 2001 Kevin LaVergne
6 * klavergne@earthling.net
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 */
22 package com.klavergne.jext.plugins.clearcase.actions;
23
24 import java.awt.event.ActionEvent;
25
26 import org.jext.JextFrame;
27
28 import com.klavergne.cc.ClearCaseConnection;
29
30 /**
31 * Executes the ClearCase Merge Manager operation.
32 * @author Kevin LaVergne
33 * @version 1.0
34 */
35 public class MergeManagerAction extends AbstractClearCaseAction {
36
37 /**
38 * Creates a new Action.
39 * @param name the name of this Action
40 * @param frame the parent JextFrame of this Action
41 */
42 public MergeManagerAction(String name, JextFrame frame) {
43 super(name, frame);
44 }
45
46 /**
47 * Performs the functionality of this Action.
48 * @param event the event
49 * @return false
50 */
51 public boolean performAction(ActionEvent event) {
52 ClearCaseConnection.executeMergeManager();
53 return false;
54 }
55 }