1 2 23 24 package net.fenyo.gnetwatch.data; 25 26 import net.fenyo.gnetwatch.*; 27 import net.fenyo.gnetwatch.GUI.*; 28 import net.fenyo.gnetwatch.targets.Target; 29 30 import java.util.*; 31 32 import org.apache.commons.logging.Log; 33 import org.apache.commons.logging.LogFactory; 34 import org.eclipse.swt.browser.Browser; 35 36 41 42 public class GeneralInformationsView extends DataView { 43 private static Log log = LogFactory.getLog(GeneralInformationsView.class); 44 45 50 public GeneralInformationsView(final GUI gui, final Target target) { 52 super(gui, target); 54 } 55 56 61 protected BasicComponent createComponent() { 62 return null; 63 } 64 65 70 protected String browserName() { 71 return getGUI().getConfig().getString("general"); 72 } 73 74 79 protected String browserUnit() { 80 return getGUI().getConfig().getString("byte") + "/s"; 81 } 82 83 88 protected Class browserEventClass() { 89 return null; 90 } 91 92 97 protected StringBuffer getBrowserContent() { 98 return super.getBrowserContent(); 99 } 100 } 101 | Popular Tags |