diff options
Diffstat (limited to 'plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/model/ProjectInfo.java')
-rw-r--r-- | plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/model/ProjectInfo.java | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/model/ProjectInfo.java b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/model/ProjectInfo.java new file mode 100644 index 0000000..3af1e2a --- /dev/null +++ b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/model/ProjectInfo.java | |||
@@ -0,0 +1,48 @@ | |||
1 | /***************************************************************************** | ||
2 | * Copyright (c) 2009 Ken Gilmer | ||
3 | * All rights reserved. This program and the accompanying materials | ||
4 | * are made available under the terms of the Eclipse Public License v1.0 | ||
5 | * which accompanies this distribution, and is available at | ||
6 | * http://www.eclipse.org/legal/epl-v10.html | ||
7 | * | ||
8 | * Contributors: | ||
9 | * Ken Gilmer - initial API and implementation | ||
10 | *******************************************************************************/ | ||
11 | package org.yocto.bc.ui.model; | ||
12 | |||
13 | |||
14 | public class ProjectInfo implements IModelElement { | ||
15 | private String name; | ||
16 | private String location; | ||
17 | private String init; | ||
18 | |||
19 | public ProjectInfo() { | ||
20 | } | ||
21 | |||
22 | public String getInitScriptPath() { | ||
23 | return init; | ||
24 | } | ||
25 | public String getProjectName() { | ||
26 | return name; | ||
27 | } | ||
28 | public String getRootPath() { | ||
29 | return location; | ||
30 | } | ||
31 | public void initialize() throws Exception { | ||
32 | name = new String(); | ||
33 | location = new String(); | ||
34 | init = new String(); | ||
35 | } | ||
36 | |||
37 | public void setInitScriptPath(String init) { | ||
38 | this.init = init; | ||
39 | } | ||
40 | |||
41 | public void setLocation(String location) { | ||
42 | this.location = location; | ||
43 | } | ||
44 | |||
45 | public void setName(String name) { | ||
46 | this.name = name; | ||
47 | } | ||
48 | } | ||