/******************************************************************************* | |
* Copyright (c) 2016 Fundación Tecnalia Research & Innovation. | |
* | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v2.0 | |
* which accompanies this distribution, and is available at | |
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html | |
* | |
* SPDX-License-Identifier: EPL-2.0 | |
* | |
* Contributors: | |
* Huascar Espinoza - initial API and implementation | |
* Alejandra Ruíz - initial API and implementation | |
* Idoya Del Río - initial API and implementation | |
* Mari Carmen Palacios - initial API and implementation | |
* Angel López - initial API and implementation | |
*******************************************************************************/ | |
/* | |
* | |
*/ | |
package org.eclipse.opencert.apm.baseline.baseline.diagram.navigator; | |
import org.eclipse.core.runtime.IAdapterFactory; | |
import org.eclipse.core.runtime.Platform; | |
import org.eclipse.core.runtime.PlatformObject; | |
import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor; | |
/** | |
* @generated | |
*/ | |
public abstract class BaselineAbstractNavigatorItem extends PlatformObject { | |
/** | |
* @generated | |
*/ | |
static { | |
final Class[] supportedTypes = new Class[] { ITabbedPropertySheetPageContributor.class }; | |
final ITabbedPropertySheetPageContributor propertySheetPageContributor = new ITabbedPropertySheetPageContributor() { | |
public String getContributorId() { | |
return "org.eclipse.opencert.apm.baseline.diagram"; //$NON-NLS-1$ | |
} | |
}; | |
Platform.getAdapterManager().registerAdapters( | |
new IAdapterFactory() { | |
public Object getAdapter(Object adaptableObject, | |
Class adapterType) { | |
if (adaptableObject instanceof org.eclipse.opencert.apm.baseline.baseline.diagram.navigator.BaselineAbstractNavigatorItem | |
&& adapterType == ITabbedPropertySheetPageContributor.class) { | |
return propertySheetPageContributor; | |
} | |
return null; | |
} | |
public Class[] getAdapterList() { | |
return supportedTypes; | |
} | |
}, | |
org.eclipse.opencert.apm.baseline.baseline.diagram.navigator.BaselineAbstractNavigatorItem.class); | |
} | |
/** | |
* @generated | |
*/ | |
private Object myParent; | |
/** | |
* @generated | |
*/ | |
protected BaselineAbstractNavigatorItem(Object parent) { | |
myParent = parent; | |
} | |
/** | |
* @generated | |
*/ | |
public Object getParent() { | |
return myParent; | |
} | |
} |