use of org.jboss.tools.openshift.internal.ui.treeitem.ObservableTreeItem in project jbosstools-openshift by jbosstools.
the class NewResourceWizardModel method loadResources.
/* (non-Javadoc)
* @see org.jboss.tools.openshift.internal.ui.wizard.common.IProjectPageModel#loadResources()
*/
@Override
public void loadResources() {
if (connection == null) {
return;
}
ObservableTreeItem connectionItem = ProjectTreeItems.INSTANCE.create(connection);
connectionItem.load();
List<ObservableTreeItem> projects = connectionItem.getChildren();
setProjectItems(projects);
}
Aggregations