1 18 19 package org.objectweb.jac.ide; 20 21 import java.util.List ; 22 import java.util.Map ; 23 import java.util.Iterator ; 24 25 import org.objectweb.jac.aspects.gui.HandlerResult; 26 27 public class Errors { 28 List errors; 29 30 public Errors(List errors) { 31 this.errors = errors; 32 } 33 34 public List getErrors() { 35 return errors; 36 } 37 38 41 42 43 public static HandlerResult selectionHandler( 44 org.objectweb.jac.aspects.gui.DisplayContext context, 45 org.objectweb.jac.core.rtti.CollectionItem collection, 46 Error error) 47 { 48 Class cl = error.getCl(); 49 if (cl==null) 50 return null; 51 return cl.gotoLine(context,error.getLine()); 52 } 53 } 54 | Popular Tags |