|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ptp.etfw.feedback.AbstractFeedbackAction
public abstract class AbstractFeedbackAction
Extend this class to add an action to the toolbar, an action that can be performed on the selected item
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. We do not recommending using this API without consulting with the etfw.feedback team.
| Constructor Summary | |
|---|---|
AbstractFeedbackAction()
|
|
| Method Summary | |
|---|---|
void |
addIcon(java.lang.String iconName)
|
java.lang.String |
getIcon()
|
org.eclipse.jface.resource.ImageDescriptor |
getIconImageDescriptor()
|
abstract java.lang.String |
getPluginId()
|
abstract java.lang.String |
getText()
get text e.g. could be used for a menu item for this action |
abstract java.lang.String |
getToolTip()
|
abstract void |
run(IFeedbackItem item)
|
abstract void |
run(org.eclipse.core.resources.IMarker marker)
What is a better arg to run(), the IFeedbackItem, or the IMarker? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFeedbackAction()
| Method Detail |
|---|
public abstract void run(org.eclipse.core.resources.IMarker marker)
item - public abstract void run(IFeedbackItem item)
public abstract java.lang.String getPluginId()
public void addIcon(java.lang.String iconName)
public java.lang.String getIcon()
public org.eclipse.jface.resource.ImageDescriptor getIconImageDescriptor()
public abstract java.lang.String getToolTip()
public abstract java.lang.String getText()
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||