sb.append(" --help : this help\r\n");
error(sb.toString());
return;
}
History h = null;
Context context = getShell().getContext();
if(project) {
context = (Context) context.get("AppContext");
} else if(global) {
context = (Context) context.get("GlobalContext");
}
if(context == null) {
if(project)
error("AppContext not available");
else if(global)
error("GlobalContext not available");
else
error("Context not available");
return;
}
h = (History) context.get("History");
if(h == null) return;
BufferObjectWriter oout = null;
SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
String val = null;
try {
Iterator it = h.list().iterator();
while(it.hasNext()) {
HistoryItem hi = (HistoryItem) it.next();
if(objs) {
if(oout == null)