de.cau.cs.kieler.core.model.gmf.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 init(EditPart editPart)
          Initializes the balloon.
 void init(Map<String,String> map)
          Initializes the balloon.
 boolean isValid()
          Set the edit part, return true if the edit part is supported.
 void run()
          Execute the command.
 

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.


isValid

boolean isValid()
Set the edit part, return true if the edit part is supported.

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

init

void init(Map<String,String> map)
Initializes the balloon.

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

init

void init(EditPart editPart)
Initializes the balloon.

Parameters:
editPart - the edit part