blob: 1a573b566936291ccb303a0581ea7c69d53fea41 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
/*******************************************************************************
* Copyright (c) 2001, 2006 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
* yyyymmdd bug Email and other contact information
* -------- -------- -----------------------------------------------------------
* 20060331 128827 kathy@ca.ibm.com - Kathy Chan
*******************************************************************************/
package org.eclipse.wst.command.internal.env.core.context;
public interface ResourceContext
{
/**
* This constant string is used to lookup the overwrite files general preference from
* the plugins local preferences store.
**/
public static final String PREFERENCE_OVERWRITE = "filesOverwrite";
/**
* This constant string is used to lookup the create folders general preference from
* the plugins local preferences store.
**/
public static final String PREFERENCE_CREATE_FOLDERS = "createFolders";
/**
* This constant string is used to lookup the checkout files general preference from
* the plugins local preferences store.
**/
public static final String PREFERENCE_CHECKOUT = "filesCheckout";
/**
* This constant string is used to lookup the enable skeleton merge general preference from
* the plugins local preferences store.
**/
public static final String PREFERENCE_SKELETON_MERGE = "skeletonMerge";
/**
*
* @param enable set whether overwriting of files is enabled.
*/
public void setOverwriteFilesEnabled ( boolean enable);
/**
*
* @return returns whether overwriting of files is enabled.
*/
public boolean isOverwriteFilesEnabled();
/**
*
* @param enable set whether creation of folders is enabled.
*/
public void setCreateFoldersEnabled( boolean enable);
/**
*
* @return returns whether creation of folders is enabled.
*/
public boolean isCreateFoldersEnabled();
/**
*
* @param enable sets whether automatic checkout of files is enabled.
*/
public void setCheckoutFilesEnabled( boolean enable);
/**
*
* @return returns whether automatic checkout of files is enabled.
*/
public boolean isCheckoutFilesEnabled();
/**
*
* @param enable sets whether automatic checkout of files is enabled.
*/
public void setSkeletonMergeEnabled( boolean enable);
/**
*
* @return returns whether skeleton merge is enabled.
*/
public boolean isSkeletonMergeEnabled();
/**
*
* @return returns a copy of this ResourceContext.
*/
public ResourceContext copy();
}
|