Package no.ugland.utransprod.util

Examples of no.ugland.utransprod.util.FileExtensionFilter


  }

  private String getCuttingFileName(WindowInterface aWindow) {
    return Util.getFileName(
        aWindow != null ? aWindow.getComponent() : null,
        new FileExtensionFilter("boq", "BOQ-fil"), null);
  }
View Full Code Here


    public final void importOrUpdateTransportPrices(final JLabel label,final WindowInterface window) throws ProTransException {
        TransportCostManager transportCostManager = (TransportCostManager) ModelUtil.getBean("transportCostManager");
        transportCostManager.setLabelInfo(label);
        String excelFileName = Util.getFileName(component,
                new FileExtensionFilter("xls", "Excel"),null);
       
        if (excelFileName != null) {
          transportCostActionEnum.doImport(window,managerRepository.getTransportCostManager(),label,excelFileName);
            /*switch (transportCostActionEnum) {
            case IMPORT:
View Full Code Here

    public final void importBudget(final JLabel label,final WindowInterface window) throws ProTransException {
        BudgetManager productionBudgetManager = (BudgetManager) ModelUtil
                .getBean(BudgetManager.MANAGER_NAME);
        productionBudgetManager.setLabelInfo(label);
        String excelFileName = Util.getFileName(parentComponent,
                new FileExtensionFilter("xls", "Excel"),openDir);
       
        if (excelFileName != null) {
            productionBudgetManager.importBudget(excelFileName,budgetType);

        }
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.util.FileExtensionFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.