1 11 package org.eclipse.help.internal.browser; 12 import org.eclipse.help.browser.*; 13 14 public class BrowserDescriptor { 15 private String browserID; 16 private String browserLabel; 17 private IBrowserFactory factory; 18 26 public BrowserDescriptor(String id, String label, IBrowserFactory factory) { 27 this.browserID = id; 28 this.browserLabel = label; 29 this.factory = factory; 30 } 31 public String getID() { 32 return browserID; 33 } 34 public String getLabel() { 35 return browserLabel; 36 } 37 public IBrowserFactory getFactory() { 38 return factory; 39 } 40 public boolean isExternal() { 41 return !BrowserManager.BROWSER_ID_EMBEDDED.equals(getID()); 42 } 43 } 44 | Popular Tags |