Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 12f142e798a6eb0215f955e6083a649a90a6eef9 (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
34
35
36
/**
 * FileTransferItemVariableDelegate.java
 * Created on 15.10.2012
 *
 * Copyright (c) 2012 Wind River Systems, Inc.
 *
 * The right to copy, distribute, modify, or otherwise make use
 * of this software may be licensed only pursuant to the terms
 * of an applicable Wind River license agreement.
 */
package org.eclipse.tcf.te.launch.core.internal;

import org.eclipse.tcf.te.runtime.persistence.AbstractPathVariableDelegate;
import org.eclipse.tcf.te.runtime.services.interfaces.filetransfer.IFileTransferItem;

/**
 * FileTransferItemVariableDelegate
 */
public class FileTransferItemVariableDelegate extends AbstractPathVariableDelegate {

	/* (non-Javadoc)
	 * @see org.eclipse.tcf.te.runtime.persistence.AbstractVariableDelegate#getKeysToHandle()
	 */
	@Override
	protected String[] getKeysToHandle() {
		return new String[]{IFileTransferItem.PROPERTY_HOST};
	}

	/* (non-Javadoc)
	 * @see org.eclipse.tcf.te.runtime.persistence.AbstractPathVariableDelegate#isPathKey(java.lang.String)
	 */
	@Override
	protected boolean isPathKey(String key) {
		return true;
	}
}

Back to the top