|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IExportAction
Describes an action that can be used by EMF Compare "export diff as" menu. EMF Compare "export" extension point requires a class implementing this.
Method Summary | |
---|---|
void |
exportSnapshot(ComparisonSnapshot snapshot)
This will be called when the described action will be triggered. |
org.eclipse.swt.graphics.Image |
getDisabledImage()
Returns the action's display icon when disabled. |
org.eclipse.swt.graphics.Image |
getEnabledImage()
Returns the action's display image while enabled as well as the image that will be displayed when the mouse hovers over it. |
java.lang.String |
getText()
Defines the action's display text. |
java.lang.String |
getToolTipText()
Defines the action's tool tip text. |
Method Detail |
---|
void exportSnapshot(ComparisonSnapshot snapshot)
Implementing classes should implement this method as they would implement
Action.run()
.
snapshot
- This represents the contents that should be exported.org.eclipse.swt.graphics.Image getDisabledImage()
Action.setDisabledImageDescriptor(org.eclipse.jface.resource.ImageDescriptor)
org.eclipse.swt.graphics.Image getEnabledImage()
Action.setImageDescriptor(org.eclipse.jface.resource.ImageDescriptor)
,
Action.setHoverImageDescriptor(org.eclipse.jface.resource.ImageDescriptor)
java.lang.String getText()
Action.setText(String)
java.lang.String getToolTipText()
Action.setToolTipText(String)
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |