|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.group.impl.AbstractCommandContribution
com.pietschy.command.group.impl.CommandContribution
public class CommandContribution
Contributions are the expansion point equivalent to GroupMembers. Contributions
are used by the group to add commands and separators to expansion points.
| Constructor Summary | |
|---|---|
CommandContribution(ActionCommand command)
Creates a new action command contribution. |
|
CommandContribution(CommandGroup command)
Creates a new command group contribution. |
|
CommandContribution(CommandGroup command,
boolean inline)
Creates a new group contribution that is optionally inline. |
|
| Method Summary | |
|---|---|
void |
performAdd(CommandGroup parent,
ExpansionPointMember expansionMember)
Adds the specified this contribution the specified group. |
void |
performRemove(CommandGroup parent,
ExpansionPointMember expansionPointMember)
Removes the specified this contribution the specified group. |
java.lang.String |
toString()
|
| Methods inherited from class com.pietschy.command.group.impl.AbstractCommandContribution |
|---|
getCommand, isContributionFor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CommandContribution(ActionCommand command)
command - the command to add.public CommandContribution(CommandGroup command)
command - the group to add.
public CommandContribution(CommandGroup command,
boolean inline)
command - the group to add.inline - true for an inline group, false for a normal group.| Method Detail |
|---|
public void performAdd(CommandGroup parent,
ExpansionPointMember expansionMember)
Contribution
parent - the parent group.expansionMember - the expansion point member of the group.
public void performRemove(CommandGroup parent,
ExpansionPointMember expansionPointMember)
Contribution
parent - the parent group.expansionPointMember - the expansion point member of the group.public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||