1 /******************************************************************************** 2 * Copyright (c) 2001, 2004 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package net.sf.glxdesktop.gui.glxinfo.dialog; 12 13 import net.sf.glxdesktop.gui.runcmd.RunCmdProgressImpl; 14 15 import net.sf.glxdesktop.gui.glxinfo.GlxInfoWindowActions; 16 import net.sf.glxdesktop.gui.glxinfo.GlxInfoWindowImpl; 17 18 public class RunGlxinfoCmdDialog extends RunCmdProgressImpl { 19 20 GlxInfoWindowImpl glxInfoDialogImpl; 21 22 GlxInfoWindowActions actions; 23 24 public RunGlxinfoCmdDialog(String cmd, GlxInfoWindowImpl infoDialogImpl, GlxInfoWindowActions actions) { 25 super(cmd); 26 this.glxInfoDialogImpl = infoDialogImpl; 27 this.actions = actions; 28 29 } 30 31 public void process() { 32 actions.setGlxinfo(getInputString()); 33 glxInfoDialogImpl.initGui(); 34 35 } 36 37 }