blob: 4ec0fb426069e8e9d628c2b5d68a760be8331d91 [file] [log] [blame]
/*******************************************************************************
<<<<<<< HEAD
* Copyright (c) 2018 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
=======
* Copyright (c) 2018 Agence spatiale canadienne / Canadian Space Agency
* 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:
* Pierre Allard,
* Regent L'Archeveque - initial API and implementation
*
* SPDX-License-Identifier: EPL-1.0
*
>>>>>>> refs/heads/eclipse_pa
*******************************************************************************/
package org.eclipse.apogy.addons.sensors.imaging.camera.impl;
import org.eclipse.apogy.addons.sensors.imaging.camera.ApogyAddonsSensorsImagingCameraFactory;
import org.eclipse.apogy.addons.sensors.imaging.camera.URLImageOverlay;
import org.eclipse.apogy.addons.sensors.imaging.camera.wizards.URLImageOverlayWizardPage;
import org.eclipse.apogy.common.emf.ui.EClassSettings;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.jface.wizard.WizardPage;
public class URLImageOverlayPagesProviderCustomImpl extends URLImageOverlayPagesProviderImpl {
@Override
public EObject createEObject(EClass eClass, EClassSettings settings) {
URLImageOverlay overlay = ApogyAddonsSensorsImagingCameraFactory.eINSTANCE.createURLImageOverlay();
return overlay;
}
@Override
public EList<WizardPage> instantiateWizardPages(EObject eObject, EClassSettings settings) {
EList<WizardPage> pages = super.instantiateWizardPages(eObject, settings);
pages.add(new URLImageOverlayWizardPage((URLImageOverlay) eObject));
return pages;
}
} // URLImageOverlayPagesProviderImpl