
from org.gvsig.app import ApplicationLocator


try:
    from project import currentProject, currentDocument, currentView, currentTable
    from view import currentLayer
except:
    pass # En modo standalone (gvsigsh) no hay proyecto ni vista

import flayers
import mapcontext

try:
    import table
except:
    pass # En modo standalone (gvsigsh) no hay table

import layervectorial
import featurestore
import featureset
import featureselection
import feature
import editablefeature
import featuretype
import editablefeaturetype
import dynobject
import dataparameter
import window

del flayers
del mapcontext
del table
del layervectorial
del featurestore
del featureset
del featureselection
del feature
del editablefeature
del featuretype
del editablefeaturetype
del dynobject
del dataparameter
del window

from utils import getTempFile, createSchema, createFeatureType, createLayer, loadShapeFile, loadRasterFile, loadLayer, createShape, createTable, createDBF, loadDBF, loadTable, COLORS, simplePointSymbol, simpleLineSymbol, simplePolygonSymbol, getDataFolder, getProjectsFolder, getColorFromRGB, getDefaultColor, getCRS, LOGGER_INFO, LOGGER_WARN, LOGGER_ERROR, logger, getResource, openStore
