org.ceryle.ui.help
Class OpenAction

java.lang.Object
  extended by org.ceryle.ui.help.HelpAction
      extended by org.ceryle.ui.help.OpenAction

public class OpenAction
extends HelpAction

Extends HelpAction to open a new View based on the provided parameters. These can be a URL, a file path, or a whitespace-separated collection and node ID pair, and uses a ResourceOpener.

Since:
JDK1.4
Version:
$Id: OpenAction.java,v 3.9 2007-06-20 01:28:23 altheim Exp $
Author:
Murray Altheim

Field Summary
protected static String key
          The keyword associated with this HelpAction.
protected  String m_systemId
           
 
Fields inherited from class org.ceryle.ui.help.HelpAction
id, keyword, literal, m_desktop, m_dlog, m_list, mh, srvs, vmgr
 
Constructor Summary
OpenAction(HelpDialog dialog, String id, String systemId)
          Constructor for an open View action with a required id and systemId.
 
Method Summary
 void start()
          The method called to open a new View.
 String toString()
          Return a String representation of this OpenAction.
 
Methods inherited from class org.ceryle.ui.help.HelpAction
addAction, getActions, getID, parseToAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

protected static final String key
The keyword associated with this HelpAction.

See Also:
Constant Field Values

m_systemId

protected String m_systemId
Constructor Detail

OpenAction

public OpenAction(HelpDialog dialog,
                  String id,
                  String systemId)
Constructor for an open View action with a required id and systemId.

Method Detail

start

public void start()
The method called to open a new View.

Overrides:
start in class HelpAction

toString

public String toString()
Return a String representation of this OpenAction.

Overrides:
toString in class HelpAction


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.