com.pietschy.command.group.impl
Interface Contribution

All Known Implementing Classes:
AbstractCommandContribution, CommandContribution, EmbeddedContribution

public interface Contribution

Internal interface for managing expansion point contributions.


Method Summary
 boolean isContributionFor(Command command)
          Checks this contribution represents the specified command.
 void performAdd(CommandGroup parent, ExpansionPointMember expansionPointMember)
          Adds the specified this contribution the specified group.
 void performRemove(CommandGroup parent, ExpansionPointMember expansionPointMember)
          Removes the specified this contribution the specified group.
 

Method Detail

performAdd

void performAdd(CommandGroup parent,
                ExpansionPointMember expansionPointMember)
Adds the specified this contribution the specified group.

Parameters:
parent - the parent group.
expansionPointMember - the expansion point member of the group.

performRemove

void performRemove(CommandGroup parent,
                   ExpansionPointMember expansionPointMember)
Removes the specified this contribution the specified group.

Parameters:
parent - the parent group.
expansionPointMember - the expansion point member of the group.

isContributionFor

boolean isContributionFor(Command command)
Checks this contribution represents the specified command.

Parameters:
command - the command to check.
Returns:
true if thise contribution represents the command, false if it doesn't.


Copyright © 2006 - 2007 Andrew Pietsch