Xacobeo::UI::DomView - DOM tree view
use Xacobeo::DomView; use Xacobeo::UI::SourceView; my $view = Xacobeo::UI::SourceView->new(); $window->add($view); # Load a document my $document = Xacobeo::Document->new_from_file($file, $type); $view->set_document($document); $view->load_node($document->documentNode);
The application's main window. This widget is a Gtk2::TreeView.
The following properties are defined:
The UI Manager used by this widget.
The action group that provides the values in the context menu.
The context menu of the widget.
The document being displayed.
The namespaces registered in the document.
The following methods are available:
Creates a new instance. This is simply the parent's constructor.
Sets the tree view nodes hierarchy based on the given node. This is the method that will actually add items to the widget.
The node to be loaded into the tree widget; an instance of XML::LibXML::Node.
Emmanuel Rodriguez <email@example.com>.
Copyright (C) 2008,2009 by Emmanuel Rodriguez.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.