|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISystemPromptableObject
This interface captures special-case objects in the SystemView that are only there to prompt the user to create something new. Eg "New Connection..." which when selected launches the new connection wizard.
These promptables can either run when expanded, or they can show child promptable objects
Related adapter is org.eclipse.rse.ui.view.SystemViewPromptableAdapter
Method Summary | |
---|---|
ISystemPromptableObject[] |
getChildren()
Return the child promptable objects. |
ImageDescriptor |
getImageDescriptor()
Returns an image descriptor for the image. |
Object |
getParent()
Get the parent object (within tree view) |
IRSESystemType[] |
getSystemTypes()
Returns the list of system types this promptable object is associated with. |
String |
getText()
Return the label for this object |
String |
getType()
Return the type label for this object |
boolean |
hasChildren()
Return true if this is an expandable prompt |
Object[] |
run(Shell shell)
Run this prompt. |
void |
setParent(Object parent)
Set the parent object so that we can respond to getParent requests |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
IRSESystemType[] getSystemTypes()
Object getParent()
void setParent(Object parent)
ImageDescriptor getImageDescriptor()
String getText()
String getType()
Object[] run(Shell shell)
ISystemPromptableObject[] getChildren()
run(Shell)
.
boolean hasChildren()
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |