*/
private void showProperties() {
Set<Properties> propvec = new HashSet<Properties>();
Properties props = null;
for (GlyphI gl : selected) {
SymWithProps info = null;
Object candidate = gl.getInfo();
if (candidate instanceof SymWithProps) {
info = (SymWithProps) candidate;
candidate = gl.getParent().getInfo();
addParentInfo(candidate, info);
} else {
if (candidate instanceof SimpleMutableSeqSymmetry && exonList.contains((SeqSymmetry) candidate)) {
props = new Properties();
props.setProperty("start", String.valueOf((int) gl.getCoordBox().x));
props.setProperty("end", String.valueOf((int) (gl.getCoordBox().x + gl.getCoordBox().width)));
props.setProperty("length", String.valueOf((int) gl.getCoordBox().width));
props.setProperty("type", "exon");
candidate = gl.getParent().getInfo();
if (candidate instanceof SymWithProps) {
info = (SymWithProps) candidate;
for(Entry<Object,Object> E: props.entrySet()) {
info.setProperty( (String) E.getKey(),E.getValue());
}
}
}
}
if (info != null) {
if (info.getProperties() != null) {
propvec.add(convertPropsToProperties(info.getProperties()));
}
}
}
Properties[] prop_array = propvec.toArray(new Properties[propvec.size()]);
table_view.showProperties(prop_array);