protected void doLoad() { container = provider.getContainer(); if (container.eResource() == null) { Resource r = new ResourceSetImpl().createResource(URI.createURI("dummy://dummy")); r.getContents().add(container); } }
protected void createConfiguration() { NewConfigurationDialog dialog = new NewConfigurationDialog(getShell()); if (dialog.open() == NewConfigurationDialog.OK) { container.getConfigurations().add(dialog.getConfiguration()); treeViewer.refresh(); } }
protected void setInput() { treeViewer.setInput(container.eResource()); }