com.bonevich.erj.app
Class Application

java.lang.Object
  |
  +--com.bonevich.erj.app.Application

public class Application
extends java.lang.Object

ClassDescription

Version:
$Id: Application.html,v 1.1 2009/03/07 17:55:59 jbonevic Exp $
Author:
jbonevic

Constructor Summary
Application()
          Constructor for Application.
 
Method Summary
 void addSupportedDatabase(SupportedDatabase supportedDatabase)
          Sets the supportedDatabases.
 Project createDefaultProject()
           
 Project getCurrentProject()
          Track the current Project (i.e.
static SupportedDatabase getDefaultDatabase()
          Returns the defaultDatabase.
 SupportedDatabase getSupportedDatabase(java.lang.String dbName)
          Returns the supportedDatabases.
 java.util.Vector getSupportedDatabaseNames()
          Returns the supportedDatabases.
 java.util.List getSupportedDatabases()
          Returns the supportedDatabases.
 void initDatabaseSupport()
          Setup database support.
 void initPreferences()
          Load the application preferences
 Project loadProject(java.lang.String filepath)
           
 void savePreferences()
          Save the application preferences
 void setCurrentProject(Project currentProject)
          Sets the currentProject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Application

public Application()
Constructor for Application.

Method Detail

getCurrentProject

public Project getCurrentProject()
Track the current Project (i.e. might be a Project in the process of being loaded).


setCurrentProject

public void setCurrentProject(Project currentProject)
Sets the currentProject.

Parameters:
currentProject - The currentProject to set

createDefaultProject

public Project createDefaultProject()

loadProject

public Project loadProject(java.lang.String filepath)

getSupportedDatabases

public java.util.List getSupportedDatabases()
Returns the supportedDatabases.

Returns:
List

getSupportedDatabase

public SupportedDatabase getSupportedDatabase(java.lang.String dbName)
Returns the supportedDatabases.

Returns:
List

getDefaultDatabase

public static SupportedDatabase getDefaultDatabase()
Returns the defaultDatabase.

Returns:
SupportedDatabase

addSupportedDatabase

public void addSupportedDatabase(SupportedDatabase supportedDatabase)
Sets the supportedDatabases.


getSupportedDatabaseNames

public java.util.Vector getSupportedDatabaseNames()
Returns the supportedDatabases.

Returns:
List

initDatabaseSupport

public void initDatabaseSupport()
Setup database support.


initPreferences

public void initPreferences()
Load the application preferences


savePreferences

public void savePreferences()
Save the application preferences



Copyright © 2001-2003 bonevich.com. All Rights Reserved.