| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.connectivity.ui.dse.dialogs.ProfileSelectionComposite
public class ProfileSelectionComposite
Composite that hosts the DSE that can be used in a variety of ways. Currently we host the composite on a dialog, but it could also be used on a property, preference, or wizard page where needed.
| Field Summary | |
|---|---|
| static java.lang.String | JDBC_CATEGORY | 
| Constructor Summary | |
|---|---|
| ProfileSelectionComposite(org.eclipse.swt.widgets.Composite parent,
                          int style)Simple Constructor | |
| ProfileSelectionComposite(org.eclipse.swt.widgets.Composite parent,
                          int style,
                          java.lang.String category)Constructor with category ID to narrow the profile list | |
| ProfileSelectionComposite(org.eclipse.swt.widgets.Composite parent,
                          int style,
                          java.lang.String category,
                          boolean limitToProfiles)Constructor with category ID and setting to either show or hide profile contents. | |
| ProfileSelectionComposite(org.eclipse.swt.widgets.Composite parent,
                          int style,
                          java.lang.String category,
                          boolean limitToProfiles,
                          boolean canNew,
                          boolean canConnect,
                          boolean canSelect) | |
| ProfileSelectionComposite(org.eclipse.swt.widgets.Composite parent,
                          int style,
                          java.lang.String category,
                          boolean limitToProfiles,
                          boolean canNew,
                          boolean canConnect,
                          boolean canSelect,
                          boolean createNow)Constructor | |
| Method Summary | |
|---|---|
|  void | addChangeListener(javax.swing.event.ChangeListener listener)Add a change listener | 
|  ProfileSelectionDialogPage | createProfileDatabaseSelectionDialogPage()Create the dialog page being hosted | 
|  void | dispose()Dispose of connect listeners | 
|  void | fillInDefaultValues()Set up the viewer | 
|  java.lang.String | getCategory()Return the category ID | 
|  java.lang.String | getCPName()Returns the profile name | 
|  org.eclipse.jface.viewers.ViewerFilter | getCustomFilter()Returns the custom filter | 
|  ProfileSelectionDialogPage | getPage()Return the underlying dialog page the composite is hosting | 
|  void | removeChangeListener(javax.swing.event.ChangeListener listener)Remove a change listener. | 
|  void | setCategory(java.lang.String category)Set the category ID to filter the viewer to | 
|  void | setCPName(java.lang.String input)Set the profile name if we are to set an initial selection | 
|  void | setCustomFilter(org.eclipse.jface.viewers.ViewerFilter input)Set a custom filter for viewer contents | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String JDBC_CATEGORY
| Constructor Detail | 
|---|
public ProfileSelectionComposite(org.eclipse.swt.widgets.Composite parent,
                                 int style)
parent - style - 
public ProfileSelectionComposite(org.eclipse.swt.widgets.Composite parent,
                                 int style,
                                 java.lang.String category)
parent - style - category - 
public ProfileSelectionComposite(org.eclipse.swt.widgets.Composite parent,
                                 int style,
                                 java.lang.String category,
                                 boolean limitToProfiles)
parent - style - category - limitToProfiles - 
public ProfileSelectionComposite(org.eclipse.swt.widgets.Composite parent,
                                 int style,
                                 java.lang.String category,
                                 boolean limitToProfiles,
                                 boolean canNew,
                                 boolean canConnect,
                                 boolean canSelect)
public ProfileSelectionComposite(org.eclipse.swt.widgets.Composite parent,
                                 int style,
                                 java.lang.String category,
                                 boolean limitToProfiles,
                                 boolean canNew,
                                 boolean canConnect,
                                 boolean canSelect,
                                 boolean createNow)
parent - style - category - - category ID to filterlimitToProfiles - - indicate whether to show or hide profile contentscanNew - - indicate whether user can create a new profile or notcanConnect - - indicate whether user can connect/disconnect profilescanSelect - - indicate whether user can select one or more profiles| Method Detail | 
|---|
public ProfileSelectionDialogPage createProfileDatabaseSelectionDialogPage()
public void setCategory(java.lang.String category)
category - public java.lang.String getCategory()
public ProfileSelectionDialogPage getPage()
public void fillInDefaultValues()
public java.lang.String getCPName()
public void setCPName(java.lang.String input)
input - public org.eclipse.jface.viewers.ViewerFilter getCustomFilter()
public void setCustomFilter(org.eclipse.jface.viewers.ViewerFilter input)
input - public void dispose()
public void addChangeListener(javax.swing.event.ChangeListener listener)
listener - public void removeChangeListener(javax.swing.event.ChangeListener listener)
listener - | 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||