|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.ui.view.AbstractSystemViewAdapter
Base class for adapters needed for the SystemView viewer. It implements the ISystemViewElementAdapter interface.
AbstractSystemRemoteAdapterFactory
Field Summary | |
---|---|
protected Object[] |
_lastResults
A variable that can be used in getChildren to cache last returned results, if desired |
protected Object |
_lastSelected
A variable that can be used to cache last selection, if desired |
protected SystemMessageObject |
canceledObject
Frequently returned msg object from getChildren: "operation canceled" |
static String |
copyright
|
protected static String[] |
EMPTY_STRING_LIST
A handy constant of "new String[0]" |
protected Object[] |
emptyList
For returning an empty list from getChildren: new Object[0] |
protected SystemMessageObject |
errorObject
Frequently returned msg object from getChildren: "operation ended in error" |
protected String |
filterString
|
static String |
MEMENTO_DELIM
Delimiter for each object's key in a memento, used to persist tree view expansion state: "///" |
protected static String |
MSG_SUB_PREFIX
Message substitution prefix: "&" |
protected static String |
MSG_SUB1
Message substitution variable 1: "&1" |
protected static String |
MSG_SUB2
Message substitution variable 2: "&2" |
protected Object[] |
msgList
For returning a msg object from getChildren. |
protected SystemMessageObject |
nullObject
Frequently returned msg object from getChildren: "empty list" |
protected Object |
propertySourceInput
Current input provider. |
protected Shell |
shell
Current shell, set by the content provider |
protected Viewer |
viewer
Current viewer. |
Fields inherited from interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter |
---|
noActions |
Fields inherited from interface com.ibm.etools.systems.subsystems.IRemoteObjectIdentifier |
---|
Copyright |
Constructor Summary | |
---|---|
AbstractSystemViewAdapter()
|
Method Summary | |
---|---|
abstract void |
addActions(SystemMenuManager menu,
IStructuredSelection selection,
Shell parent,
String menuGroup)
This is your opportunity to add actions to the popup menu for the given selection. |
void |
addCommonRemoteActions(SystemMenuManager menu,
IStructuredSelection selection,
Shell shell,
String menuGroup)
Called by SystemView viewer. |
void |
addDynamicPopupMenuActions(SystemMenuManager menu,
IStructuredSelection selection,
Shell shell,
String menuGroup)
Called by system viewers. |
boolean |
canDelete(Object element)
Overridable by subclasses, and usually is. |
boolean |
canDrag(Object element)
Overridable by subclasses, and is iff drag and drop supported. |
boolean |
canDrop(Object element)
Overridable by subclasses, and is iff drag and drop supported. |
boolean |
canEdit(Object object)
Overridable by subclasses, and must be for editable objects. |
boolean |
canRename(Object element)
Overridable by subclasses, and usually is. |
protected Object[] |
checkForNull(Object[] children,
boolean returnNullMsg)
Callable by subclasses. |
protected static PropertyDescriptor |
createSimplePropertyDescriptor(String propertyKey,
ResourceBundle bundle,
String rootForLabelAndDescription)
Callable by subclasses. |
protected static PropertyDescriptor |
createSimplePropertyDescriptor(String propertyKey,
String rootForLabelAndDescription)
Callable by subclasses. |
boolean |
doDelete(Shell shell,
Object element)
Overridable by subclasses, and usually is. |
Object |
doDrag(Object element,
boolean sameSystemType,
IProgressMonitor monitor)
Overridable by subclasses, and is iff drag and drop supported. |
Object |
doDrop(Object from,
Object to,
boolean sameSystemType,
boolean sameSystem,
int srcType,
IProgressMonitor monitor)
Overridable by subclasses, and is iff drag and drop supported. |
Object |
doDrop(Object from,
Object to,
boolean sameSystemType,
boolean sameSystem,
IProgressMonitor monitor)
Deprecated. use doDrop(Object from, Object to, boolean sameSystemType, boolean sameSystem, int srcType, IProgressMonitor monitor) instead |
boolean |
doRename(Shell shell,
Object element,
String name)
Overridable by subclasses, and usually is. |
void |
fetchDeferredChildren(Object o,
IElementCollector collector,
IProgressMonitor monitor)
|
abstract String |
getAbsoluteName(Object object)
Abstract. |
protected ISystemViewElementAdapter |
getAdapter(Object o)
Callable by subclasses. |
protected Object[] |
getCancelledMessageObject()
Callable by subclasses. |
String |
getCanonicalNewName(Object element,
String newName)
Overridable by subclasses, and usually is iff canRename is. |
Object[] |
getChildren(IProgressMonitor monitor,
Object element)
This should be overridden by subclasses in order to provide deferred query support via the Eclipse Jobs mechanism Return the children of this object. |
abstract Object[] |
getChildren(Object element)
Abstract. |
Object[] |
getChildrenUsingExpandToFilter(Object element,
String expandToFilter)
Overridable by subclasses, but rarely needs to be. |
protected ISystemTree |
getCurrentTreeView()
Getter method. |
protected static IPropertyDescriptor[] |
getDefaultDescriptors()
Callable by subclasses. |
ISystemEditableRemoteObject |
getEditableRemoteObject(Object object)
Overridable by subclasses, and must be for editable objects. |
Object |
getEditableValue()
Needed by framework for property sheet. |
protected Object[] |
getEmptyMessageObject()
Callable by subclasses. |
protected Object[] |
getFailedMessageObject()
Callable by subclasses. |
String |
getFilterString()
Gets filter context for querying. |
String |
getFilterStringFor(Object object)
Return a filter string that corresponds to this object. |
protected Object |
getFirstSelection(IStructuredSelection selection)
Callable by subclasses. |
abstract ImageDescriptor |
getImageDescriptor(Object element)
Abstract. |
ISystemViewInputProvider |
getInput()
Getter method. |
String |
getInputMementoHandle(Object element)
Overridable by subclasses, but usually is not. |
String |
getLabel(Object element)
Internal use. |
String |
getMementoHandle(Object element)
Overridable by subclasses, but usually is not. |
String |
getMementoHandleKey(Object element)
Overridable by subclasses, but usually is not. |
String |
getName(Object element)
Overridable by subclasses, but rarely needs to be. |
ISystemValidator |
getNameValidator(Object element)
Overridable by subclasses, and usually is iff canRename is. |
abstract Object |
getParent(Object element)
Abstract. |
IPropertyDescriptor[] |
getPropertyDescriptors()
Implemented. |
Object |
getPropertyValue(Object key)
Implemented. |
Object |
getPropertyValue(Object key,
boolean formatted)
Overridable by subclasses, but usually is not. |
protected ISystemRemoteElementAdapter |
getRemoteAdapter(Object o)
Callable by subclasses. |
String |
getRemoteSourceType(Object element)
Overridable by subclasses, but usually is not. |
String |
getRemoteSubSubType(Object element)
Overridable by subclasses, but usually is not. |
ISchedulingRule |
getRule(Object element)
|
Shell |
getShell()
Getter method. |
String |
getStatusLineText(Object element)
Overridable by subclasses, but rarely needs to be. |
SubSystem |
getSubSystem(Object element)
Overridable by subclasses. |
protected SystemFetchOperation |
getSystemFetchOperation(Object o,
IElementCollector collector)
Returns the SystemFetchOperation to be used in performing a query. |
protected ISystemTree |
getSystemTree()
Callable by subclasses. |
abstract String |
getText(Object element)
Abstract. |
protected String |
getTranslatedFalse()
Callable by subclasses. |
protected String |
getTranslatedNo()
Callable by subclasses. |
protected String |
getTranslatedNotApplicable()
Callable by subclasses. |
protected String |
getTranslatedNotAvailable()
Callable by subclasses. |
protected String |
getTranslatedTrue()
Callable by subclasses. |
String |
getTranslatedYes()
Callable by subclasses. |
abstract String |
getType(Object element)
Abstract. |
IPropertyDescriptor[] |
getUniquePropertyDescriptors()
Callable by subclasses. |
Viewer |
getViewer()
Getter method. |
boolean |
handleDoubleClick(Object element)
Overridable by subclasses, but usually is not. |
abstract boolean |
hasChildren(Object element)
Abstract. |
protected void |
initMsgObjects()
Internal use. |
protected abstract IPropertyDescriptor[] |
internalGetPropertyDescriptors()
Abstract. |
protected abstract Object |
internalGetPropertyValue(Object key)
Abstract. |
boolean |
isContainer()
|
boolean |
isPromptable(Object element)
Overridable by subclasses, but usually is not. |
boolean |
isPropertySet(Object key)
Overridable by subclasses. |
boolean |
namesAreEqual(Object element,
String newName)
Overridable by subclasses, but usually is not. |
void |
resetPropertyValue(Object key)
Overridable by subclasses. |
boolean |
saveExpansionState(Object element)
Overridable by subclasses, but usually is not. |
void |
selectionChanged(Object element)
Overridable by subclasses, but usually is not. |
void |
setFilterString(String filterString)
Sets filter context for querying. |
void |
setInput(ISystemViewInputProvider input)
Configuration method. |
void |
setPropertySourceInput(Object propertySourceInput)
Called from adapter factories. |
void |
setPropertyValue(Object key,
Object value)
Overridable by subclasses. |
void |
setShell(Shell shell)
Configuration method. |
void |
setViewer(Viewer viewer)
Configuration method. |
boolean |
showDelete(Object element)
Overridable by subclasses, but usually is not. |
boolean |
showGenericShowInTableAction(Object element)
Overridable by subclasses, and usually is NOT. |
boolean |
showOpenViewActions(Object element)
Overridable by subclasses, and usually is NOT. |
boolean |
showRefresh(Object element)
Overridable by subclasses, and usually is. |
boolean |
showRename(Object element)
Overridable by subclasses, but usually is not. |
static String |
sub(String msg,
String subOld,
String subNew)
Callable by subclasses. |
boolean |
supportsDeferredQueries()
these methods are for deferred fetch operations |
boolean |
testAttribute(Object target,
String name,
String value)
Overridable by subclasses, typically if additional properties are supported. |
boolean |
validateDrop(Object src,
Object target,
boolean sameSystem)
Overridable by subclasses, and usually is iff drag and drop supported.. |
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
protected String filterString
protected Viewer viewer
protected Object propertySourceInput
protected Shell shell
protected Object[] emptyList
protected Object[] msgList
protected SystemMessageObject nullObject
protected SystemMessageObject canceledObject
protected SystemMessageObject errorObject
protected static final String MSG_SUB_PREFIX
protected static final String MSG_SUB1
protected static final String MSG_SUB2
public static final String MEMENTO_DELIM
protected static final String[] EMPTY_STRING_LIST
protected Object[] _lastResults
protected Object _lastSelected
Constructor Detail |
public AbstractSystemViewAdapter()
Method Detail |
public void setViewer(Viewer viewer)
setViewer
in interface ISystemViewElementAdapter
public void setShell(Shell shell)
setShell
in interface ISystemViewElementAdapter
public void setInput(ISystemViewInputProvider input)
setInput
in interface ISystemViewElementAdapter
public Shell getShell()
getShell
in interface ISystemViewElementAdapter
public Viewer getViewer()
getViewer
in interface ISystemViewElementAdapter
protected ISystemTree getCurrentTreeView()
public ISystemViewInputProvider getInput()
getInput
in interface ISystemViewElementAdapter
public SubSystem getSubSystem(Object element)
AbstractResource
,
it calls getSubSystem on it, else returns null.
getSubSystem
in interface ISystemViewElementAdapter
public void addCommonRemoteActions(SystemMenuManager menu, IStructuredSelection selection, Shell shell, String menuGroup)
menu
- The menu to contribute actions toselection
- The window's current selection.shell
- of viewer calling this. Most dialogs require a shell.menuGroup
- recommended menu group to add actions to. If added to another group, you must be sure to create that group first.public void addDynamicPopupMenuActions(SystemMenuManager menu, IStructuredSelection selection, Shell shell, String menuGroup)
dynamicPopupMenuExtensions
extension point. Unlike
addCommonRemoteActions(), these contributions are for any artifact in the RSE views and are contributed
independently of subsystem factories.
menu
- The menu to contribute actions toselection
- The window's current selection.shell
- of viewer calling this. Most dialogs require a shell.menuGroup
- recommended menu group to add actions to. If added to another group, you must be sure to create that group first.public abstract void addActions(SystemMenuManager menu, IStructuredSelection selection, Shell parent, String menuGroup)
To put your action into the given menu, use the menu's add
method.
If you don't care where it goes within the popup, just pass the given menuGroup location id,
otherwise pass one of the GROUP_XXX values from ISystemContextMenuConstants
. If you pass one that
identifies a pre-defined cascading menu, such as GROUP_OPENWITH, your action will magically appear in that
cascading menu, even if it was otherwise empty.
For the actions themselves, you will probably use one of the base action classes:
SystemBaseAction
. For a simple action doesn't present any UI.
SystemBaseDialogAction
. For an action that presents a dialog
.
SystemBaseWizardAction
. For an action that presents a wizard
.
SystemBaseSubMenuAction
. For an action that cascades into a submenu with other actions.
addActions
in interface ISystemViewElementAdapter
menu
- the popup menu you can contribute toselection
- the current selection in the calling tree or table viewparent
- the shell of the calling tree or table viewmenuGroup
- the default menu group to place actions into if you don't care where they. Pass this to the SystemMenuManager add
method.ISystemViewElementAdapter.addActions(SystemMenuManager, IStructuredSelection, Shell, String)
public abstract ImageDescriptor getImageDescriptor(Object element)
getImageDescriptor
in interface ISystemViewElementAdapter
element
- The element for which an image is desiredpublic abstract String getText(Object element)
getText
in interface ISystemViewElementAdapter
getName(Object)
,
getAbsoluteName(Object)
public String getName(Object element)
Called by common rename and delete actions, and used to populate property sheet.
getName
in interface ISystemViewElementAdapter
getText(Object)
,
getAbsoluteName(Object)
public abstract String getAbsoluteName(Object object)
getAbsoluteName
in interface IRemoteObjectIdentifier
getText(Object)
,
getName(Object)
public String getLabel(Object element)
public abstract String getType(Object element)
getType
in interface ISystemViewElementAdapter
public String getStatusLineText(Object element)
getType(): getName()
getStatusLineText
in interface ISystemViewElementAdapter
public abstract Object getParent(Object element)
getParent
in interface ISystemViewElementAdapter
public abstract boolean hasChildren(Object element)
hasChildren
in interface ISystemViewElementAdapter
public abstract Object[] getChildren(Object element)
getChildren
in interface ISystemViewElementAdapter
public Object[] getChildren(IProgressMonitor monitor, Object element)
getChildren
in interface ISystemViewElementAdapter
public Object[] getChildrenUsingExpandToFilter(Object element, String expandToFilter)
getChildrenUsingExpandToFilter
in interface ISystemViewElementAdapter
protected static IPropertyDescriptor[] getDefaultDescriptors()
protected static PropertyDescriptor createSimplePropertyDescriptor(String propertyKey, String rootForLabelAndDescription)
propertyKey
- Key for this property, sent back in getPropertyValue.rootForLabelAndDescription
- key into the system resource bundle for the label (+"label") and description (+"description")protected static PropertyDescriptor createSimplePropertyDescriptor(String propertyKey, ResourceBundle bundle, String rootForLabelAndDescription)
propertyKey
- Key for this property, sent back in getPropertyValue.bundle
- the resource bundle containing translatable label and descriptionrootForLabelAndDescription
- key into the system resource bundle for the label (+"label") and description (+"description")public Object getEditableValue()
public IPropertyDescriptor[] getPropertyDescriptors()
internalGetPropertyDescriptors()
.
internalGetPropertyDescriptors()
protected abstract IPropertyDescriptor[] internalGetPropertyDescriptors()
Override if want to include more properties in the property sheet,
If you override this for readonly properties, you must also override:
If you override this for editable properties, you must also override:
createSimplePropertyDescriptor(String,ResourceBundle,String)
public IPropertyDescriptor[] getUniquePropertyDescriptors()
If internalGetPropertyDescriptors() returns non-null, then returns that, else computes the difference.
This is called by the table views like SystemTableView
.
getUniquePropertyDescriptors
in interface ISystemViewElementAdapter
public Object getPropertyValue(Object key, boolean formatted)
This is called by the table views in order to get values that can be sorted when the user clicks on the column heading. To support this for a numeric property say, return a Long/Integer object if false, versus returning string.
getPropertyValue
in interface ISystemViewElementAdapter
formatted
- indication of whether to return the value in formatted or raw form
public Object getPropertyValue(Object key)
internalGetPropertyValue(Object)
.internalGetPropertyValue(Object)
for
subclasses.
propertySourceInput
, which is the currently selected object. Just case it to what you expect the selected object's type to be.
key
- the name of the property as named by its property descriptor
protected abstract Object internalGetPropertyValue(Object key)
key
- the name of the property as named by its property descriptor
public boolean isPropertySet(Object key)
true
if the value of the specified property has changed
from its original default value; false
otherwise.public void resetPropertyValue(Object key)
key
- the key identifying property to resetpublic void setPropertyValue(Object key, Object value)
key
- the key identifying property to resetvalue
- the new value for the propertypublic void setPropertySourceInput(Object propertySourceInput)
setPropertySourceInput
in interface ISystemViewElementAdapter
public boolean handleDoubleClick(Object element)
handleDoubleClick
in interface ISystemViewElementAdapter
public boolean showDelete(Object element)
By default, returns true.
showDelete
in interface ISystemViewElementAdapter
canDelete(Object)
,
doDelete(Shell,Object)
public boolean canDelete(Object element)
By default, returns false. Override if your object is deletable.
canDelete
in interface ISystemViewElementAdapter
showDelete(Object)
,
doDelete(Shell,Object)
public boolean doDelete(Shell shell, Object element) throws Exception
doDelete
in interface ISystemViewElementAdapter
Exception
showDelete(Object)
,
canDelete(Object)
public boolean showRename(Object element)
By default, returns true.
showRename
in interface ISystemViewElementAdapter
canRename(Object)
,
doRename(Shell,Object,String)
public boolean canRename(Object element)
canRename
in interface ISystemViewElementAdapter
showRename(Object)
,
doRename(Shell,Object,String)
,
getNameValidator(Object)
,
getCanonicalNewName(Object,String)
,
namesAreEqual(Object,String)
public boolean doRename(Shell shell, Object element, String name) throws Exception
doRename
in interface ISystemViewElementAdapter
Exception
showRename(Object)
,
canRename(Object)
public ISystemValidator getNameValidator(Object element)
Used in the common rename dialogs, and only if you return true to canRename(Object)
.
Suggest you use at least UniqueStringValidator or a subclass to ensure new name is at least unique.
getNameValidator
in interface ISystemViewElementAdapter
canRename(Object)
public String getCanonicalNewName(Object element, String newName)
For example, two connections or filter pools can have the same name if they are in different profiles. Two iSeries QSYS objects can have the same name if their object types are different.
Used in the common rename dialogs, and only if you return true to canRename(Object)
.
This method returns a name that can be used for uniqueness checking because it is qualified sufficiently to make it unique.
By default, this simply returns the given name. It is overridden by child classes when appropriate.
getCanonicalNewName
in interface ISystemViewElementAdapter
canRename(Object)
public boolean namesAreEqual(Object element, String newName)
Used in the common rename dialogs, and only if you return true to canRename(Object)
.
By default does an equalsIgnoreCase comparison
namesAreEqual
in interface ISystemViewElementAdapter
canRename(Object)
public boolean showRefresh(Object element)
Default is true.
showRefresh
in interface ISystemViewElementAdapter
public boolean showOpenViewActions(Object element)
Only applicable for non-remote resources. Remote always show Go To only.
showOpenViewActions
in interface ISystemViewElementAdapter
public boolean showGenericShowInTableAction(Object element)
showGenericShowInTableAction
in interface ISystemViewElementAdapter
public boolean canDrag(Object element)
canDrag
in interface ISystemDragDropAdapter
doDrag(Object,boolean,IProgressMonitor)
,
canDrop(Object)
,
doDrop(Object,Object,boolean,boolean,IProgressMonitor)
,
validateDrop(Object,Object,boolean)
public Object doDrag(Object element, boolean sameSystemType, IProgressMonitor monitor)
doDrag
in interface ISystemDragDropAdapter
element
- the object to copysameSystemType
- indication of whether the source and target reside on the same type of systemmonitor
- the progress monitor
canDrag(Object)
,
canDrop(Object)
,
doDrop(Object,Object,boolean,boolean,IProgressMonitor)
,
validateDrop(Object,Object,boolean)
public boolean canDrop(Object element)
canDrop
in interface ISystemDragDropAdapter
element
- the target of a drop operation
canDrag(Object)
,
doDrag(Object,boolean,IProgressMonitor)
,
doDrop(Object,Object,boolean,boolean,IProgressMonitor)
,
validateDrop(Object,Object,boolean)
public void setFilterString(String filterString)
setFilterString
in interface ISystemViewElementAdapter
public String getFilterString()
getFilterString
in interface ISystemViewElementAdapter
public Object doDrop(Object from, Object to, boolean sameSystemType, boolean sameSystem, int srcType, IProgressMonitor monitor)
doDrop
in interface ISystemDragDropAdapter
from
- the source object for the dropto
- the target object for the dropsameSystemType
- indication of whether the source and target reside of the same type of systemsameSystem
- indication of whether the source and target are on the same systemsrcType
- the type of object to be dropped.monitor
- the progress monitor
canDrag(Object)
,
doDrag(Object,boolean,IProgressMonitor)
,
canDrop(Object)
,
validateDrop(Object,Object,boolean)
public Object doDrop(Object from, Object to, boolean sameSystemType, boolean sameSystem, IProgressMonitor monitor)
doDrop
in interface ISystemDragDropAdapter
from
- the source object for the dropto
- the target object for the dropsameSystemType
- indication of whether the source and target reside of the same type of systemsameSystem
- indication of whether the source and target are on the same systemmonitor
- the progress monitor
canDrag(Object)
,
doDrag(Object,boolean,IProgressMonitor)
,
canDrop(Object)
,
validateDrop(Object,Object,boolean)
public boolean validateDrop(Object src, Object target, boolean sameSystem)
validateDrop
in interface ISystemDragDropAdapter
src
- the object to droptarget
- the object which src is dropped insameSystem
- whether this is the same system or not
canDrag(Object)
,
doDrag(Object,boolean,IProgressMonitor)
,
canDrop(Object)
,
doDrop(Object,Object,boolean,boolean,IProgressMonitor)
public String getMementoHandle(Object element)
getMementoHandle
in interface ISystemViewElementAdapter
public String getInputMementoHandle(Object element)
getInputMementoHandle
in interface ISystemViewElementAdapter
public String getMementoHandleKey(Object element)
getMementoHandleKey
in interface ISystemViewElementAdapter
public boolean saveExpansionState(Object element)
saveExpansionState
in interface ISystemViewElementAdapter
public boolean isPromptable(Object element)
Default is false unless element implements ISystemPromptable object. Override as appropriate.
isPromptable
in interface ISystemViewElementAdapter
public void selectionChanged(Object element)
selectionChanged
in interface ISystemViewElementAdapter
element
- - first selected objectpublic boolean testAttribute(Object target, String name, String value)
If desired, override, and call super(), to support additional filter criteria for <filter>, <enablement> and <visibility>.
IActionFilter
public String getRemoteSubSubType(Object element)
ISystemRemoteElementAdapter.getRemoteSubSubType(Object)
.
Pre-supplied for convenience for subclasses that want to implement this interface for
remote object adapters.
Returns null. Override if you want to supply a sub-sub-type for filtering in the popupMenus extension point.
public String getRemoteSourceType(Object element)
ISystemRemoteElementAdapter.getRemoteSubSubType(Object)
.
Pre-supplied for convenience for subclasses that want to implement this interface for
remote object adapters.
Returns null. Override if the remote resource is compilable.
public ISystemEditableRemoteObject getEditableRemoteObject(Object object)
object
- the object to edit
public boolean canEdit(Object object)
object
- the object to edit
protected ISystemViewElementAdapter getAdapter(Object o)
Just a convenient shortcut to SystemAdapterHelpers.getAdapter(Object, Viewer)
protected ISystemRemoteElementAdapter getRemoteAdapter(Object o)
Just a convenient shortcut to SystemAdapterHelpers.getRemoteAdapter(Object, Viewer)
public static String sub(String msg, String subOld, String subNew)
protected ISystemTree getSystemTree()
public String getTranslatedYes()
protected String getTranslatedNo()
protected String getTranslatedTrue()
protected String getTranslatedFalse()
protected String getTranslatedNotApplicable()
protected String getTranslatedNotAvailable()
protected void initMsgObjects()
protected Object[] checkForNull(Object[] children, boolean returnNullMsg)
protected Object[] getCancelledMessageObject()
protected Object[] getFailedMessageObject()
protected Object[] getEmptyMessageObject()
protected Object getFirstSelection(IStructuredSelection selection)
public String getFilterStringFor(Object object)
object
- the object to obtain a filter string for
public boolean supportsDeferredQueries()
supportsDeferredQueries
in interface ISystemViewElementAdapter
true
if it supports deferred queries, false
otherwise.public void fetchDeferredChildren(Object o, IElementCollector collector, IProgressMonitor monitor)
protected SystemFetchOperation getSystemFetchOperation(Object o, IElementCollector collector)
o
- collector
-
public boolean isContainer()
public ISchedulingRule getRule(Object element)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |