~openerp-spain-team/openerp-spain/6.0-git

« back to all changes in this revision

Viewing changes to l10n_es_facturae/java/FirmarFacturaE-src/src/firmarfacturae/FirmarFacturaEApp.java

  • Committer: Borja L.S.
  • Date: 2010-10-18 10:04:25 UTC
  • Revision ID: git-v1:271c47a993616dbba60585d48b8b98d603199d93
[REF] *: Refactorización para portar a 6.0 - Paso 1.

- Se han renombrado los módulos para usar la nomenclatura propuesta
  por OpenERP: l10n_es para el módulo base de localización (plan de 
  cuentas), l10n_es_* para el resto de módulos.

- Se eliminan los módulos extra_addons/* que deberían moverse a 
  los extra-addons genéricos (no son específicos de España).

- Se renombran los __terp__.py por __openerp__.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * FirmarFacturaEApp.java
 
3
 */
 
4
 
 
5
package firmarfacturae;
 
6
 
 
7
import org.jdesktop.application.Application;
 
8
import org.jdesktop.application.SingleFrameApplication;
 
9
 
 
10
/**
 
11
 * The main class of the application.
 
12
 */
 
13
public class FirmarFacturaEApp extends SingleFrameApplication {
 
14
 
 
15
    /**
 
16
     * At startup create and show the main frame of the application.
 
17
     */
 
18
    @Override protected void startup() {
 
19
        show(new FirmarFacturaEView(this));
 
20
    }
 
21
 
 
22
    /**
 
23
     * This method is to initialize the specified window by injecting resources.
 
24
     * Windows shown in our application come fully initialized from the GUI
 
25
     * builder, so this additional configuration is not needed.
 
26
     */
 
27
    @Override protected void configureWindow(java.awt.Window root) {
 
28
    }
 
29
 
 
30
    /**
 
31
     * A convenient static getter for the application instance.
 
32
     * @return the instance of FirmarFacturaEApp
 
33
     */
 
34
    public static FirmarFacturaEApp getApplication() {
 
35
        return Application.getInstance(FirmarFacturaEApp.class);
 
36
    }
 
37
 
 
38
    /**
 
39
     * Main method launching the application.
 
40
     */
 
41
    public static void main(String[] args) {
 
42
        launch(FirmarFacturaEApp.class, args);
 
43
    }
 
44
}