Package com.aspose.wizards

Source Code of com.aspose.wizards.AsposeComponentManagerCallback

package com.aspose.wizards;

import com.aspose.utils.AsposeComponentsManager;
import com.aspose.wizards.AsposeModuleWizardStep;
import com.aspose.wizards.execution.CallBackHandler;
import com.intellij.openapi.progress.ProgressIndicator;
import org.jetbrains.annotations.NotNull;

/**
* Created by Adeel Ilyas on 8/22/2014.
*/
public class AsposeComponentManagerCallback implements CallBackHandler {

   private AsposeModuleWizardStep page;
    public AsposeComponentManagerCallback(AsposeModuleWizardStep page) {
        this.page = page;
    }
    @Override
    public boolean executeTask(@NotNull ProgressIndicator progressIndicator) {

       progressIndicator.setIndeterminate(true);
       progressIndicator.setText("Preparing to download selected APIs");
       AsposeComponentsManager comManager = new AsposeComponentsManager(
               page);

       return comManager.downloadComponents(progressIndicator);
   }
}
TOP

Related Classes of com.aspose.wizards.AsposeComponentManagerCallback

TOP
Copyright © 2018 www.massapi.com. 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.