org.eclipse.gmf.runtime.diagram.ui.commands
Class PromptForConnectionAndEndCommand.ConnectionAndEndLabelProvider
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.LabelProvider
org.eclipse.gmf.runtime.diagram.ui.internal.commands.ElementTypeLabelProvider
org.eclipse.gmf.runtime.diagram.ui.commands.PromptForConnectionAndEndCommand.ConnectionAndEndLabelProvider
- All Implemented Interfaces:
- IBaseLabelProvider, ILabelProvider
- Enclosing class:
- PromptForConnectionAndEndCommand
- protected class PromptForConnectionAndEndCommand.ConnectionAndEndLabelProvider
- extends org.eclipse.gmf.runtime.diagram.ui.internal.commands.ElementTypeLabelProvider
Label provider of the first and only popup for the type of the other end
when there is only one connection type (e.g. a single relationship type
palette tool is used).
|
Method Summary |
protected java.lang.Object |
getConnectionItem()
Gets the connection item. |
java.lang.String |
getText(java.lang.Object element)
Uses IElementType.getDisplayName() for the text. |
| Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.internal.commands.ElementTypeLabelProvider |
getImage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PromptForConnectionAndEndCommand.ConnectionAndEndLabelProvider
protected PromptForConnectionAndEndCommand.ConnectionAndEndLabelProvider(java.lang.Object connectionItem)
- Creates a new
ConnectionAndEndLabelProvider.
getText
public java.lang.String getText(java.lang.Object element)
- Description copied from class:
org.eclipse.gmf.runtime.diagram.ui.internal.commands.ElementTypeLabelProvider
- Uses
IElementType.getDisplayName() for the text.
- See Also:
ILabelProvider.getText(java.lang.Object)
getConnectionItem
protected java.lang.Object getConnectionItem()
- Gets the connection item.
- Returns:
- the connection item
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.