AnnotatedFilterTreeDialog treeDialog = new AnnotatedFilterTreeDialog( PartitionFrame.this, false );
treeDialog.setFilter( filter );
partition.getSearchEngine().getOptimizer().annotate( root );
TreeNode astRoot = new ASTNode( null, root );
TreeModel model = new DefaultTreeModel( astRoot, true );
treeDialog.setModel( model );
treeDialog.setVisible( true );
return true;
}