|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object AbstractSystemViewAdapter com.ibm.etools.iseries.rse.ui.search.SearchResultElementAdapter
public class SearchResultElementAdapter
This is the adapter to handle the iseries result elements from the search result view. Adapter for: (According to: SearchResultAdapterFactory) - SearchResultRootElement - SearchResultChildElement
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from interface com.ibm.etools.iseries.rse.ui.view.objtable.IPDMOptions |
---|
PDM_OPTION_10_RESTORE, PDM_OPTION_11_MOVE, PDM_OPTION_12_WORK_WITH, PDM_OPTION_15_COPY_FILE, PDM_OPTION_2_CHANGE, PDM_OPTION_2_EDIT, PDM_OPTION_25_FIND_STRING, PDM_OPTION_3_COPY, PDM_OPTION_4_DELETE, PDM_OPTION_5_BROWSE, PDM_OPTION_55_MERGE_MEMBER, PDM_OPTION_7_RENAME, PDM_OPTION_9_SAVE |
Constructor Summary | |
---|---|
SearchResultElementAdapter()
Constructor for ISeriesSearchResultElementAdapter. |
Method Summary | |
---|---|
void |
addActions(SystemMenuManager menu,
IStructuredSelection selection,
Shell shell,
String menuGroup)
Add the pop-up actions to the result view |
void |
addSelectionChangedListener(ISelectionChangedListener arg0)
|
boolean |
canDelete()
Is delete supported |
boolean |
canDelete(Object element)
Should the delete action be enabled for the given selected object? |
boolean |
canRename()
|
boolean |
canRename(Object element)
Should the rename action be enabled for the given selected object? |
boolean |
doDelete()
Actually do the delete of currently selected items. |
boolean |
doDelete(IProgressMonitor monitor)
|
boolean |
doRename(String[] newNames)
Actually do the rename of currently selected items. |
String |
getAbsoluteName(Object element)
Return the absolute name, versus just display name, of this object |
Object[] |
getChildren(IAdaptable element,
IProgressMonitor monitor)
Return the children of the view |
ImageDescriptor |
getImageDescriptor(Object element)
|
Object |
getParent(Object element)
|
ISelection |
getSelection()
|
String |
getText(Object element)
|
String |
getType(Object element)
|
boolean |
handleDoubleClick(Object element)
Handle double click action to open the member |
boolean |
hasChildren(IAdaptable element)
Return if there is children for the view |
protected IPropertyDescriptor[] |
internalGetPropertyDescriptors()
Return our unique property descriptors |
Object |
internalGetPropertyValue(Object key)
Return our unique property values |
void |
removeFromTreeView(Vector toBeRemovedVector)
Remove item from tree view |
void |
removeSelectionChangedListener(ISelectionChangedListener arg0)
|
void |
setSelection(ISelection arg0)
|
boolean |
showDelete()
Should we show delete |
boolean |
showRename()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Constructor Detail |
---|
public SearchResultElementAdapter()
Method Detail |
---|
public Object[] getChildren(IAdaptable element, IProgressMonitor monitor)
public boolean hasChildren(IAdaptable element)
public Object getParent(Object element)
IWorkbenchAdapter
public ImageDescriptor getImageDescriptor(Object element)
com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter#getImageDescriptor(Object,
boolean)
public String getText(Object element)
com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter#getText(Object)
public String getAbsoluteName(Object element)
public String getType(Object element)
com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter#getType(Object)
public void addActions(SystemMenuManager menu, IStructuredSelection selection, Shell shell, String menuGroup)
protected IPropertyDescriptor[] internalGetPropertyDescriptors()
public Object internalGetPropertyValue(Object key)
public boolean handleDoubleClick(Object element)
public boolean canDelete(Object element)
public boolean canRename(Object element)
public boolean showDelete()
public boolean canDelete()
public boolean doDelete()
public void removeFromTreeView(Vector toBeRemovedVector)
deletedVector
- public void addSelectionChangedListener(ISelectionChangedListener arg0)
public ISelection getSelection()
public void removeSelectionChangedListener(ISelectionChangedListener arg0)
public void setSelection(ISelection arg0)
public boolean showRename()
public boolean canRename()
public boolean doRename(String[] newNames)
public boolean doDelete(IProgressMonitor monitor)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |