de.cau.cs.kieler.core.ui.policies
Interface IBalloonContribution

All Known Implementing Classes:
KSbasEBalloonPopup

public interface IBalloonContribution

The interface for contributions to the balloon popup bar.

Rating proposed yellow
(2009-02-23)

Method Summary
 Image getImage()
          The image that should appear in the balloon.
 String getTooltip()
          The tooltip for the item in the balloon.
 void run()
          Execute the command.
 void setAttributes(HashMap<String,String> map)
          Set the attributes received through the extension point.
 boolean setEditPart(EditPart editPart)
          Set the edit part, return true if the edit part is supported.
 

Method Detail

getImage

Image getImage()
The image that should appear in the balloon.

Returns:
the image

getTooltip

String getTooltip()
The tooltip for the item in the balloon.

Returns:
some description

run

void run()
Execute the command.


setEditPart

boolean setEditPart(EditPart editPart)
Set the edit part, return true if the edit part is supported.

Parameters:
editPart - the edit part
Returns:
true if the command is applicable for this edit part.

setAttributes

void setAttributes(HashMap<String,String> map)
Set the attributes received through the extension point.

Parameters:
map - the attributes received through the extension point.