Package com.salesforce.ide.ui.wizards.components.apex.component

Source Code of com.salesforce.ide.ui.wizards.components.apex.component.ApexComponentWizard

/*******************************************************************************
* Copyright (c) 2014 Salesforce.com, inc..
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
*     Salesforce.com, inc. - initial API and implementation
******************************************************************************/
package com.salesforce.ide.ui.wizards.components.apex.component;

import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;

import com.salesforce.ide.core.internal.components.apex.component.ApexComponentComponentController;
import com.salesforce.ide.core.project.ForceProjectException;
import com.salesforce.ide.ui.wizards.components.ComponentWizardPage;
import com.salesforce.ide.ui.wizards.components.apex.ApexCodeWizard;

/**
* Wizard to create new Apex Class.
*
* @author cwall
*/
public class ApexComponentWizard extends ApexCodeWizard {

    public ApexComponentWizard() throws ForceProjectException {
        super();
        controller = new ApexComponentComponentController();
    }

    public ApexComponentWizard(IFolder folder) {
        super(folder, folder.getProject());
    }

    public ApexComponentWizard(IFolder folder, IProject project) {
        super(folder, project);
    }

    @Override
    protected ComponentWizardPage getComponentWizardPageInstance() {
        return new ApexComponentWizardPage(this);
    }
}
TOP

Related Classes of com.salesforce.ide.ui.wizards.components.apex.component.ApexComponentWizard

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.