Exemple #1
0
 protected void loadInstance(Instance instance) {
   String s = instance.getBrowserText();
   setMainText(s);
   setMainIcon(instance.getIcon());
   appendType(instance);
   setBackgroundSelectionColor(Colors.getInstanceSelectionColor());
 }
 private boolean testInstance(int testIndex, Instance instance, Slot slot) {
   String value;
   if (specification.getValue() == null) return false;
   if (((String) specification.getValue()).length() < 1) return false;
   value = instance.getBrowserText();
   return testInstance(testIndex, instance, slot, value);
 }