Skip to: Site menu | Main content

GumTree

An integrated scientific workbench

Eclipse Resources Print

Eclipse Programming Tips

How to hide the sash form separator from form?

SashForm sashForm = new SashForm(parent, SWT.NONE);
getToolkit().adapt(sashForm);

How to load an editor input into an EMF object

Resource resource = SDOUtil.createResourceSet().createResource(EditUIUtil.getURI(getEditorInput()));
resource.load(null);
Object content = resource.getContents().get(0);