/**
  * Create contents of the editor part
  *
  * @param parent
  */
 @Override
 public void createPartControl(Composite parent) {
   Composite container = new Composite(parent, SWT.NONE);
   this.setPartName(editInput.getName());
   container.setLayout(new FillLayout());
   Browser browser = new Browser(container, SWT.NONE);
   browser.setUrl(editInput.getUrl());
   browser.forward();
   //
 }
예제 #2
0
 /** @see com.aptana.ide.editors.unified.ContributedBrowser#forward() */
 public void forward() {
   if (browser != null) {
     browser.forward();
   }
 }