|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectComposite
eu.geclipse.ui.widgets.GridConnectionDefinitionComposite
public class GridConnectionDefinitionComposite
A composite for specifying the settings of a new connection. In fact
it holds all necessary widgets to create an URI with any of
the available constructors. It may be contextualized with the
eu.geclipse.ui.efs extension point.
| Constructor Summary | |
|---|---|
GridConnectionDefinitionComposite(IGridContainer mountPoint,
Composite parent,
int style)
Create a new connection definition composite. |
|
| Method Summary | |
|---|---|
void |
addModifyListener(ModifyListener l)
Add a ModifyListener to the list of listeners. |
java.lang.String |
getErrorMessage()
Get the cached error message if any or null otherwise. |
java.net.URI |
getURI()
Construct a URI from the currently specified parameters. |
boolean |
isValid()
Validates the current settings of the composite controls. |
void |
removeModifyListener(ModifyListener l)
Removes the specified listener from the list of listeners. |
void |
setURI(java.net.URI uri)
Set the URI represented by the controls of this
composite. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridConnectionDefinitionComposite(IGridContainer mountPoint,
Composite parent,
int style)
parent - The parent of the composite.style - The composite's style.| Method Detail |
|---|
public void addModifyListener(ModifyListener l)
ModifyListener to the list of listeners. Modify
listeners are informed whenever a URI specific token was edited.
l - The listener to be added.public java.lang.String getErrorMessage()
null otherwise.
null if this operation did not cause an error.public java.net.URI getURI()
null. In
this case getErrorMessage() will return an
appropriate error message.
null in the case of an error.public boolean isValid()
false will be
returned. In this case getErrorMessage() will contain
an appropriate error message.
True if all settings are valid,
false otherwise.public void removeModifyListener(ModifyListener l)
l - The ModifyListener to be removed.public void setURI(java.net.URI uri)
URI represented by the controls of this
composite. No validation is done by this method.
uri - The URI to be set.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||