org.ceryle.ui.help
Class OpenDocAction

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

public class OpenDocAction
extends HelpAction

Extends HelpAction to open a new DocumentView. If a systemId is supplied, it is opened into the editor.

Since:
JDK1.4
Version:
$Id: OpenDocAction.java,v 3.8 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
OpenDocAction(HelpDialog dialog, String id, String systemId)
          Constructor for an open DocumentView action with a required id.
 
Method Summary
 void start()
          The method called to open a new DocumentView.
 String toString()
          Return a String representation of this OpenDocAction.
 
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

OpenDocAction

public OpenDocAction(HelpDialog dialog,
                     String id,
                     String systemId)
Constructor for an open DocumentView action with a required id.

Method Detail

start

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

Overrides:
start in class HelpAction

toString

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

Overrides:
toString in class HelpAction


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