NAME

Xacobeo::UI - The graphical interface of the application.

SYNOPSIS

use Xacobeo::UI;

DESCRIPTION

This package provides the graphical user interface (GUI) of the application. Most of the GUI is made through Glade and this package provides the callbacks and the application logic.

METHODS

The package defines the following methods:

new

Constructor. Creates a new instance of the UI.

Parameters:

  • $app_folder

    The application's root folder.

  • $domain

    The i18n (gettext) domain to use for the translations.

load_file

This method loads a new file into the GUI. The new document will be parsed and displayed in the window.

Parameters:

  • $file

    The XML file to load.

set_xpath

This method sets the XPath expression to display in the XPath text area. The expression is not evaluated.

Parameters:

  • $xpath

    The XML file to load.

AUTHORS

Emmanuel Rodriguez <potyl@cpan.org>.

COPYRIGHT AND LICENSE

Copyright (C) 2008 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.