|
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.SystemType
Represents a registered system type, as registered by the systemtype extension point.
* Currently, only two pieces of information per type is recorded:
*
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
SystemType(String name,
ImageDescriptor image,
ImageDescriptor connectedImage,
boolean enableOffline,
String description)
Constructor * @param name - display name for this system type * @param image - image for this system type, not connected * @param connectedImage - image for this system type, when connected * @param enableOffline - whether to enable offline * @param description - translatable description of the system type |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this system type to another one. |
ImageDescriptor |
getConnectedImage()
Return the image for connections of this system type, when connected |
String |
getDefaultUserID()
Return the default user ID preferences setting for this system type. |
String |
getDescription()
Return the translatable description of this system type * @return a description of this system type. |
ImageDescriptor |
getImage()
Return the image for connections of this system type, when not connected |
String |
getName()
Return the display name for this system type * @return the name shown in the New Connection wizard for this system type. |
static String |
getPreferenceStoreString(SystemType type)
Helper method to produce a preferences string to save the settable information to disk |
static SystemType |
getSystemType(SystemType[] allTypes,
String name)
Helper method... given a system type name, return its system type object |
int |
hashCode()
Hash by name |
boolean |
isEnabled()
Return true if this system type is currently enabled, meaning it shows * up in the New Connection wizard. |
boolean |
isEnableOffline()
Return true if this system type supports offline mode or not * @return true if this system type supports offline mode |
void |
setDefaultUserID(String id)
Set the default user ID for this system type. |
void |
setEnabled(boolean enabled)
Specify if this system type is currently enabled, affecting if it shows up in * the New Connection wizard. |
void |
setEnableOffline(boolean enable)
Configuration method |
String |
toString()
Convert to a string. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String copyright
Constructor Detail |
public SystemType(String name, ImageDescriptor image, ImageDescriptor connectedImage, boolean enableOffline, String description)
Method Detail |
public String toString()
getName()
public String getName()
public String getDescription()
public boolean isEnableOffline()
public void setEnableOffline(boolean enable)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public ImageDescriptor getImage()
public ImageDescriptor getConnectedImage()
public String getDefaultUserID()
public void setDefaultUserID(String id)
public boolean equals(Object o)
public int hashCode()
public static SystemType getSystemType(SystemType[] allTypes, String name)
public static String getPreferenceStoreString(SystemType type)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |