|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.ui.model.WorkbenchAdapter
org.eclipse.rse.ui.RSEAdapter
org.eclipse.rse.ui.RSESystemTypeAdapter
Adapter for RSE system types.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.ui.model.WorkbenchAdapter |
|---|
NO_CHILDREN |
| Fields inherited from interface org.eclipse.rse.core.IRSESystemTypeConstants |
|---|
ENABLE_OFFLINE, ICON, ICON_LIVE |
| Constructor Summary | |
|---|---|
RSESystemTypeAdapter()
|
|
| Method Summary | |
|---|---|
String |
getDefaultUserId(Object object)
Return the default user id for a particular system type. |
String |
getDescription(Object object)
Returns the description of the system type if the object passed in is of type IRSESystemType.
|
static ImageDescriptor |
getImage(String value,
Bundle definingBundle)
Create a descriptor from the argument absolute or relative path to an image file. bundle parameter is used as the base for relative paths and is allowed to be null. |
ImageDescriptor |
getImageDescriptor(Object object)
Returns the image descriptor for the icon of this system type. |
String |
getLabel(Object object)
Returns the name of the system type if the object passed in is of type IRSESystemType. |
ImageDescriptor |
getLiveImageDescriptor(Object object)
Returns the "live" image descriptor for this system type. |
static URL |
getUrl(String value,
Bundle definingBundle)
Create a URL from the argument absolute or relative path. |
boolean |
isEnabled(Object object)
Returns the enabled state of a particular system type. |
boolean |
isEnableOffline(Object object)
|
void |
setDefaultUserId(Object object,
String defaultUserId)
Set the default user id for this system type. |
void |
setIsEnabled(Object object,
boolean isEnabled)
Sets the enabled state of a particular system type. |
| Methods inherited from class org.eclipse.rse.ui.RSEAdapter |
|---|
getRegistry |
| Methods inherited from class org.eclipse.ui.model.WorkbenchAdapter |
|---|
getBackground, getChildren, getFont, getForeground, getParent |
| 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.model.IWorkbenchAdapter |
|---|
getChildren, getParent |
| Methods inherited from interface org.eclipse.ui.model.IWorkbenchAdapter2 |
|---|
getBackground, getFont, getForeground |
| Constructor Detail |
public RSESystemTypeAdapter()
| Method Detail |
public ImageDescriptor getImageDescriptor(Object object)
getImageDescriptor in interface IWorkbenchAdapterWorkbenchAdapter.getImageDescriptor(java.lang.Object)public ImageDescriptor getLiveImageDescriptor(Object object)
object - The object to get an image descriptor for.
public static ImageDescriptor getImage(String value,
Bundle definingBundle)
value - the absolute or relative pathdefiningBundle - bundle to be used for relative paths (may be null)
public static URL getUrl(String value,
Bundle definingBundle)
value - the absolute or relative pathdefiningBundle - bundle to be used for relative paths (may be null)
public String getLabel(Object object)
IRSESystemType. Otherwise, returns the value of the parent implementation.
getLabel in interface IWorkbenchAdapterWorkbenchAdapter.getLabel(java.lang.Object)public String getDescription(Object object)
IRSESystemType.
Otherwise, returns the value of the parent implementation.
getDescription in interface IRSEAdaptergetDescription in class RSEAdapterRSEAdapter.getDescription(java.lang.Object)public boolean isEnableOffline(Object object)
public boolean isEnabled(Object object)
object - the object being adapted, usually a system type.
public void setIsEnabled(Object object,
boolean isEnabled)
object - The system type being adapted.isEnabled - true if the system type is enabled. false if it is not.public String getDefaultUserId(Object object)
object - The system type being adapted.
public void setDefaultUserId(Object object,
String defaultUserId)
object - the system type that we are adaptingdefaultUserId - the id to set for this system type
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||