Files
secondo/Javagui/viewer/hoese/algebras/Dspldocument.java
2026-01-23 17:03:45 +08:00

34 lines
547 B
Java

package viewer.hoese.algebras;
import sj.lang.ListExpr;
// currently just an alias for text
public class Dspldocument extends Dspltext{
protected void computeType(ListExpr type, String Text) {
if(type.listLength()!=2){
super.computeType(type,Text);
return;
}
type = type.second();
if(type.atomType()!=ListExpr.SYMBOL_ATOM){
super.computeType(type,Text);
return;
}
String t = type.symbolValue();
if(t.equals("pdf")){
Type = PDF_TYPE;
return;
}
// handle other type here
super.computeType(type,Text);
}
}