|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.group.impl.AbstractCommandContribution
public abstract class AbstractCommandContribution
Base implementation for Contribution that insert a command.
| Constructor Summary | |
|---|---|
AbstractCommandContribution(Command contribution)
Creates a new contribution for the specified command. |
|
| Method Summary | |
|---|---|
Command |
getCommand()
Returns the command this contribution is adding. |
boolean |
isContributionFor(Command command)
Returns true if the command equals this contributions command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.pietschy.command.group.impl.Contribution |
|---|
performAdd, performRemove |
| Constructor Detail |
|---|
public AbstractCommandContribution(Command contribution)
contribution - the command to add.| Method Detail |
|---|
public Command getCommand()
public boolean isContributionFor(Command command)
true if the command equals this contributions command.
isContributionFor in interface Contributioncommand - the command to compare.
true if the command equals this contributions command.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||