Commit f81502ec authored by Matija Obreza's avatar Matija Obreza
Browse files

Refresh on resize? (windows problem)

MCPD term updated
parent aaa0cdfe
......@@ -64,6 +64,8 @@ import org.genesys2.anno.model.Column;
import org.genesys2.anno.model.ColumnDef;
import swing2swt.layout.BorderLayout;
import org.eclipse.swt.events.ControlAdapter;
import org.eclipse.swt.events.ControlEvent;
public class SheetDisplay extends Composite {
private static final Logger _log = Logger.getLogger(SheetDisplay.class);
......@@ -161,6 +163,12 @@ public class SheetDisplay extends Composite {
table.setHeaderVisible(true);
tabFolder = new TabFolder(sashForm, SWT.NONE);
tabFolder.addControlListener(new ControlAdapter() {
@Override
public void controlResized(ControlEvent e) {
tabFolder.layout();
}
});
TabItem tbtmColumnProperties = new TabItem(tabFolder, SWT.NONE);
tbtmColumnProperties.setText("Column");
......
......@@ -18,7 +18,7 @@ package org.genesys2.anno.predefined;
public class RdfMCPD {
//http://purl.org/germplasm/germplasmTerm#
public static final String INSTCODE = "http://purl/instCode";
public static final String INSTCODE = "http://www.cropontology.org/rdf/CO_020:0000084";
public static final String ACCENUMB = "http://purl.org/germplasm/germplasmTerm#germplasmID";
public static final String GENUS = "http://rs.tdwg.org/dwc/terms/genus";
public static final String SPECIES = "http://rs.tdwg.org/dwc/terms/specificEpithet";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment