コード例 #1
0
 /**
  * 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();
   }
 }