public class ContainerSelectionGroup
extends Composite
| Constructor and Description |
|---|
ContainerSelectionGroup(Composite parent,
Listener listener,
boolean allowNewContainerName)
Creates a new instance of the widget.
|
ContainerSelectionGroup(Composite parent,
Listener listener,
boolean allowNewContainerName,
String message)
Creates a new instance of the widget.
|
ContainerSelectionGroup(Composite parent,
Listener listener,
boolean allowNewContainerName,
String message,
boolean showClosedProjects)
Creates a new instance of the widget.
|
ContainerSelectionGroup(Composite parent,
Listener listener,
boolean allowNewContainerName,
String message,
boolean showClosedProjects,
int heightHint,
int widthHint)
Creates a new instance of the widget.
|
| Modifier and Type | Method and Description |
|---|---|
void |
containerSelectionChanged(IContainer container)
The container selection has changed in the tree view.
|
void |
createContents(String message)
Creates the contents of the composite.
|
void |
createContents(String message,
int heightHint,
int widthHint)
Creates the contents of the composite.
|
IPath |
getContainerFullPath()
Returns the currently entered container name.
|
void |
setInitialFocus()
Gives focus to one of the widgets in the group, as determined by the
group.
|
void |
setSelectedContainer(IContainer container)
Sets the selected existing container.
|
public ContainerSelectionGroup(Composite parent,
Listener listener,
boolean allowNewContainerName)
parent - The parent widget of the group.listener - A listener to forward events to. Can be null if no listener is
required.allowNewContainerName - Enable the user to type in a new container name instead of
just selecting from the existing ones.public ContainerSelectionGroup(Composite parent,
Listener listener,
boolean allowNewContainerName,
String message)
parent - The parent widget of the group.listener - A listener to forward events to. Can be null if no listener is
required.allowNewContainerName - Enable the user to type in a new container name instead of
just selecting from the existing ones.message - The text to present to the user.public ContainerSelectionGroup(Composite parent,
Listener listener,
boolean allowNewContainerName,
String message,
boolean showClosedProjects)
parent - The parent widget of the group.listener - A listener to forward events to. Can be null if no listener is
required.allowNewContainerName - Enable the user to type in a new container name instead of
just selecting from the existing ones.message - The text to present to the user.showClosedProjects - Whether or not to show closed projects.public ContainerSelectionGroup(Composite parent,
Listener listener,
boolean allowNewContainerName,
String message,
boolean showClosedProjects,
int heightHint,
int widthHint)
parent - The parent widget of the group.listener - A listener to forward events to. Can be null if no listener is
required.allowNewContainerName - Enable the user to type in a new container name instead of
just selecting from the existing ones.message - The text to present to the user.showClosedProjects - Whether or not to show closed projects.heightHint - height hint for the drill down compositewidthHint - width hint for the drill down compositepublic void containerSelectionChanged(IContainer container)
container - The container that changedpublic void createContents(String message)
message - public void createContents(String message, int heightHint, int widthHint)
message - heightHint - widthHint - public IPath getContainerFullPath()
public void setInitialFocus()
public void setSelectedContainer(IContainer container)
container - Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.