@Override
protected void createFormContent(IManagedForm managedForm) {
managedForm.setInput(getEditorInput());
FormToolkit toolkit = managedForm.getToolkit();
ScrolledForm form = managedForm.getForm();
form.setText("JAR File Viewer");
toolkit.decorateFormHeading(form.getForm());
titleImg = AbstractUIPlugin.imageDescriptorFromPlugin(PluginConstants.PLUGIN_ID, "/icons/jar_obj.gif").createImage(form.getDisplay());
form.setImage(titleImg);
// CREATE CONTROLS
Composite body = form.getBody();
SashForm sashForm = new SashForm(body, SWT.HORIZONTAL);
Composite treePanel = toolkit.createComposite(sashForm);
contentTreePart = new JARContentTreePart(treePanel, managedForm);
managedForm.addPart(contentTreePart);
Composite detailsPanel = toolkit.createComposite(sashForm);
entryPart = new JAREntryPart(getEditor(), detailsPanel, toolkit);
managedForm.addPart(entryPart);
if (selectedPath != null)
contentTreePart.setSelectedPath(selectedPath);