|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.rse.ui.view.AbstractSystemViewAdapter
org.eclipse.rse.ui.view.team.SystemTeamViewCategoryAdapter
Adapter for displaying and processing SystemTeamViewCategoryNode objects in tree views, such as the Team view.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.rse.ui.view.AbstractSystemViewAdapter |
|---|
_lastResults, _lastSelected, canceledObject, EMPTY_STRING_LIST, emptyList, errorObject, filterString, MEMENTO_DELIM, MSG_SUB_PREFIX, MSG_SUB1, MSG_SUB2, msgList, nullObject, propertySourceInput, shell, viewer |
| Fields inherited from interface org.eclipse.rse.ui.view.ISystemViewElementAdapter |
|---|
noActions |
| Fields inherited from interface org.eclipse.rse.core.ISystemUserIdConstants |
|---|
USERID_LOCATION_CONNECTION, USERID_LOCATION_DEFAULT_OVERALL, USERID_LOCATION_DEFAULT_SYSTEMTYPE, USERID_LOCATION_NOTSET, USERID_LOCATION_SUBSYSTEM |
| Fields inherited from interface org.eclipse.jface.viewers.IBasicPropertyConstants |
|---|
P_CHILDREN, P_IMAGE, P_PARENT, P_TEXT |
| Constructor Summary | |
|---|---|
SystemTeamViewCategoryAdapter()
|
|
| Method Summary | |
|---|---|
void |
addActions(SystemMenuManager menu,
IStructuredSelection selection,
Shell shell,
String menuGroup)
Returns any actions that should be contributed to the popup menu for the given element. |
String |
getAbsoluteName(Object element)
Return the absolute name, versus just display name, of this object |
Object[] |
getChildren(Object element)
Return the children of this profile. |
ImageDescriptor |
getImageDescriptor(Object element)
Returns an image descriptor for the image. |
String |
getMementoHandle(Object element)
Return what to save to disk to identify this element in the persisted list of expanded elements. |
String |
getMementoHandleKey(Object element)
Return a short string to uniquely identify the type of resource. |
String |
getName(Object element)
Return the name of this object, which may be different than the display text ({#link #getText(Object)}. |
Object |
getParent(Object element)
Return the parent of this object. |
String |
getStatusLineText(Object element)
Return the string to display in the status line when the given object is selected. |
String |
getText(Object element)
Return the label for this object |
String |
getType(Object element)
Return the type label for this object |
boolean |
hasChildren(Object element)
Return true if this profile has children. |
protected IPropertyDescriptor[] |
internalGetPropertyDescriptors()
Return our unique property descriptors, which getPropertyDescriptors adds to the common properties. |
Object |
internalGetPropertyValue(Object key)
Returns the current value for the named property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.views.properties.IPropertySource |
|---|
getEditableValue, getPropertyDescriptors, getPropertyValue, isPropertySet, resetPropertyValue, setPropertyValue |
| Methods inherited from interface org.eclipse.rse.ui.view.ISystemDragDropAdapter |
|---|
canDrag, canDrag, canDrop, doDrag, doDrag, doDrop, doDrop, validateDrop, validateDrop |
| Methods inherited from interface org.eclipse.ui.IActionFilter |
|---|
testAttribute |
| Constructor Detail |
public SystemTeamViewCategoryAdapter()
| Method Detail |
public void addActions(SystemMenuManager menu,
IStructuredSelection selection,
Shell shell,
String menuGroup)
addActions in interface ISystemViewElementAdapteraddActions in class AbstractSystemViewAdaptermenu - The menu to contribute actions toselection - The window's current selection.shell - Shell of viewermenuGroup - recommended menu group to add actions to. If added to another group, you must be sure to create that group first.ISystemViewElementAdapter.addActions(SystemMenuManager, IStructuredSelection, Shell, String)public ImageDescriptor getImageDescriptor(Object element)
getImageDescriptor in interface ISystemViewElementAdaptergetImageDescriptor in class AbstractSystemViewAdapterelement - The element for which an image is desiredpublic String getText(Object element)
getText in interface ISystemViewElementAdaptergetText in class AbstractSystemViewAdapterAbstractSystemViewAdapter.getName(Object),
AbstractSystemViewAdapter.getAbsoluteName(Object)public String getName(Object element)
Called by common rename and delete actions.
getName in interface ISystemViewElementAdaptergetName in class AbstractSystemViewAdapterAbstractSystemViewAdapter.getText(Object),
AbstractSystemViewAdapter.getAbsoluteName(Object)public String getAbsoluteName(Object element)
getAbsoluteName in interface IRemoteObjectIdentifiergetAbsoluteName in class AbstractSystemViewAdapterAbstractSystemViewAdapter.getText(Object),
AbstractSystemViewAdapter.getName(Object)public String getType(Object element)
getType in interface ISystemViewElementAdaptergetType in class AbstractSystemViewAdapterpublic String getStatusLineText(Object element)
getStatusLineText in interface ISystemViewElementAdaptergetStatusLineText in class AbstractSystemViewAdapterpublic Object getParent(Object element)
getParent in interface ISystemViewElementAdaptergetParent in class AbstractSystemViewAdapterpublic Object[] getChildren(Object element)
getChildren in interface ISystemViewElementAdaptergetChildren in class AbstractSystemViewAdapterpublic boolean hasChildren(Object element)
hasChildren in interface ISystemViewElementAdapterhasChildren in class AbstractSystemViewAdapterprotected IPropertyDescriptor[] internalGetPropertyDescriptors()
internalGetPropertyDescriptors in class AbstractSystemViewAdapterAbstractSystemViewAdapter.createSimplePropertyDescriptor(String, String, String)public Object internalGetPropertyValue(Object key)
internalGetPropertyValue in class AbstractSystemViewAdapterkey - - the name of the property as named by its property descriptor
public String getMementoHandle(Object element)
getMementoHandle in interface ISystemViewElementAdaptergetMementoHandle in class AbstractSystemViewAdapterpublic String getMementoHandleKey(Object element)
getMementoHandleKey in interface ISystemViewElementAdaptergetMementoHandleKey in class AbstractSystemViewAdapter
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||