use of org.jboss.tools.openshift.internal.ui.server.ChooseOpenshiftConnectionComposite.IConnectionChangedListener in project jbosstools-openshift by jbosstools.
the class ChooseOpenshiftConnectionFragment method createComposite.
@Override
public Composite createComposite(Composite parent, final IWizardHandle handle) {
this.handle = handle;
initWizardHandle();
chooseConnectionComposite = new ChooseOpenshiftConnectionComposite(parent);
chooseConnectionComposite.setConnectionChangeListener(new IConnectionChangedListener() {
@Override
public void connectionChanged(IConnection newVal) {
selectedConnectionChanged(newVal);
}
});
getContainer(getPage(handle)).addPageChangingListener(onPageChanging(handle));
selectedConnectionChanged(chooseConnectionComposite.getConnection());
return chooseConnectionComposite;
}
Aggregations