final JPanel panel = new JPanel(new BorderLayout());
final Tree tree = new Tree();
URL fileURL = ArchivingCDMAPluginTest.class.getResource("testCouleurExpression.vc");
File newFile = null;
IDataset dataset = null;
try {
newFile = new File(fileURL.toURI());
dataset = new VcDataset(newFile);
dataset.open();
} catch (IOException e1) {
e1.printStackTrace();
} catch (URISyntaxException e2) {
e2.printStackTrace();
}
ITreeNode rootNode = new BasicTreeNode();
constructTree(rootNode, dataset.getRootGroup());
tree.setRootNode(rootNode);
tree.addMouseListener(archivingListener);
panel.add(tree, BorderLayout.CENTER);