/** * @see * com.metamatrix.modeler.transformation.ui.builder.AbstractLanguageObjectEditor#createUi(org.eclipse.swt.widgets.Composite) */ @Override protected void createUi(Composite theParent) { pnlContent = new Composite(theParent, SWT.NONE); pnlContent.setLayoutData(new GridData(GridData.FILL_BOTH)); pnlContent.setLayout(new FillLayout()); // // pnlContent contents // viewer = ElementViewerFactory.createElementViewer(pnlContent); viewer.addDoubleClickListener( new IDoubleClickListener() { public void doubleClick(DoubleClickEvent theEvent) { handleDoubleClick(); } }); viewer.addSelectionChangedListener( new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent theEvent) { handleTreeSelection(); } }); viewer.expandAll(); }