|
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(String iconName)
|
String |
getIcon()
|
ImageDescriptor |
getIconImageDescriptor()
|
abstract String |
getPluginId()
|
abstract String |
getText()
get text e.g. could be used for a menu item for this action |
abstract String |
getToolTip()
|
abstract void |
run(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(IMarker marker)
item - public abstract String getPluginId()
public void addIcon(String iconName)
public String getIcon()
public ImageDescriptor getIconImageDescriptor()
public abstract String getToolTip()
public abstract String getText()
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||