|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.action.ContributionItem org.eclipse.ui.actions.CompoundContributionItem org.eclipse.ecf.presence.ui.menu.AbstractRosterMenuContributionItem org.eclipse.ecf.presence.collab.ui.console.ConsoleRosterMenuContributionItem
public class ConsoleRosterMenuContributionItem
Field Summary |
---|
Fields inherited from class org.eclipse.ecf.presence.ui.menu.AbstractRosterMenuContributionItem |
---|
NO_CONTRIBUTIONS |
Constructor Summary | |
---|---|
ConsoleRosterMenuContributionItem()
|
|
ConsoleRosterMenuContributionItem(java.lang.String id)
|
Method Summary | |
---|---|
protected AbstractRosterMenuHandler |
createRosterEntryHandler(IRosterEntry rosterEntry)
Create a AbstractRosterMenuHandler for a given IRosterEntry instance. |
protected java.lang.Object |
getSelection()
Get the currently selected model object. |
Methods inherited from class org.eclipse.ui.actions.CompoundContributionItem |
---|
fill, isDirty, isDynamic, setParent |
Methods inherited from class org.eclipse.jface.action.ContributionItem |
---|
fill, fill, fill, getId, getParent, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setVisible, toString, update, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConsoleRosterMenuContributionItem()
public ConsoleRosterMenuContributionItem(java.lang.String id)
Method Detail |
---|
protected java.lang.Object getSelection()
null
if nothing is selected.protected AbstractRosterMenuHandler createRosterEntryHandler(IRosterEntry rosterEntry)
AbstractRosterMenuContributionItem
AbstractRosterMenuHandler
for a given IRosterEntry instance. Implementers of this method
should construct and return a new AbstractRosterMenuHandler
. When a menu selection is made for
a given IRosterEntry
menu item, the associated AbstractRosterMenuHandler
instance will have its
AbstractRosterMenuHandler.execute(org.eclipse.core.commands.ExecutionEvent)
method will
be called. This way, subclasses may define arbitrary behavior for the dynamic menu item
selection.
createRosterEntryHandler
in class AbstractRosterMenuContributionItem
rosterEntry
- the IRosterEntry
for the AbstractRosterMenuHandler
. Will not be null
.
AbstractRosterMenuHandler
instance. Must not be null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |