org.eclipse.eclipsemonkey.actions
Class PublishScript
java.lang.Object
org.eclipse.eclipsemonkey.actions.PublishScript
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate
- Direct Known Subclasses:
- PublishScriptForBlogger, PublishScriptForEmail, PublishScriptForWiki
public class PublishScript
- extends java.lang.Object
- implements org.eclipse.ui.IWorkbenchWindowActionDelegate, org.eclipse.ui.IObjectActionDelegate
PublishScript
|
Method Summary |
protected java.lang.String |
decorateText(java.lang.String contents)
decorateText |
void |
dispose()
|
void |
init(org.eclipse.ui.IWorkbenchWindow window)
|
void |
run(org.eclipse.jface.action.IAction action)
|
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
|
void |
setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublishScript
public PublishScript()
run
public void run(org.eclipse.jface.action.IAction action)
- Specified by:
run in interface org.eclipse.ui.IActionDelegate
- See Also:
IActionDelegate.run(org.eclipse.jface.action.IAction)
decorateText
protected java.lang.String decorateText(java.lang.String contents)
- decorateText
- Parameters:
contents -
- Returns:
- The decorated text
selectionChanged
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
- Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
- Parameters:
action - selection -
dispose
public void dispose()
- Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
init
public void init(org.eclipse.ui.IWorkbenchWindow window)
- Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
- Parameters:
window -
setActivePart
public void setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart)
- Specified by:
setActivePart in interface org.eclipse.ui.IObjectActionDelegate
- Parameters:
action - targetPart -