org.robsite.extension.rss
Class Commands

java.lang.Object
  extended byorg.robsite.extension.rss.Commands

public final class Commands
extends java.lang.Object

Contains constants for command IDs used by this extension, and a couple of utilities for getting instances of IdeAction for those commands.

Version:
$Revision: 1.1.1.1 $
Author:
brian_duff@sourceforge.net

Field Summary
static java.lang.String MARK_AS_READ
          The "Mark as Read" command ID.
static java.lang.String OPEN_IN_BROWSER
          The "Open in Browser" command ID.
static java.lang.String VIEW_NEWS_DOCKABLE
          The "Check RSS News" command ID for the Help menu.
static java.lang.String VIEW_NEWS_DOCKABLE_VIEW
          The "RSS News" command ID for the View menu.
 
Method Summary
static oracle.ide.IdeAction getAction(java.lang.String name)
          Get an IDE action for the specified command id.
static int id(java.lang.String name)
          Get the numeric id of the specified command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MARK_AS_READ

public static final java.lang.String MARK_AS_READ
The "Mark as Read" command ID.

See Also:
Constant Field Values

OPEN_IN_BROWSER

public static final java.lang.String OPEN_IN_BROWSER
The "Open in Browser" command ID.

See Also:
Constant Field Values

VIEW_NEWS_DOCKABLE

public static final java.lang.String VIEW_NEWS_DOCKABLE
The "Check RSS News" command ID for the Help menu.

See Also:
Constant Field Values

VIEW_NEWS_DOCKABLE_VIEW

public static final java.lang.String VIEW_NEWS_DOCKABLE_VIEW
The "RSS News" command ID for the View menu.

See Also:
Constant Field Values
Method Detail

getAction

public static oracle.ide.IdeAction getAction(java.lang.String name)
Get an IDE action for the specified command id.

Parameters:
name - one of the constant command names defined in this class.
Returns:
the IdeAction for that command.

id

public static final int id(java.lang.String name)
Get the numeric id of the specified command.

Parameters:
name - one of the constant command names defined in this class.
Returns:
the id of the specified command.


Copyright © 2005 robsite.org. All Rights Reserved.