Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 774e3cd449a23349d7289884ba9883c5654df62e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*******************************************************************************
 * Copyright (c) 2013, 2014 Wind River Systems, Inc. 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:
 * Wind River Systems - initial API and implementation
 *******************************************************************************/
package org.eclipse.tcf.te.tcf.core.interfaces;

import org.eclipse.tcf.services.IPathMap;
import org.eclipse.tcf.te.runtime.services.interfaces.IService;

/**
 * Provides a set of generated path map rules.
 * <p>
 * Auto generated path map rules typically differs between target types and
 * are typically not to be editable for the user. The path map rules provided
 * by this service are not necessarily persisted.
 */
public interface IPathMapGeneratorService extends IService {

	/**
	 * Return the generated (object) path mappings for the given context.
	 *
	 * @param context The context. Must not be <code>null</code>.
	 * @return The generated path map or <code>null</code>.
	 */
	public IPathMap.PathMapRule[] getPathMap(Object context);

	public IPathMap.PathMapRule[] getSourcePathMap(Object context);
}

Back to the top