diff options
Diffstat (limited to 'org.openembedded.bc.ui/src/org/openembedded/bc/ui/model')
-rw-r--r-- | org.openembedded.bc.ui/src/org/openembedded/bc/ui/model/IModelElement.java | 15 | ||||
-rw-r--r-- | org.openembedded.bc.ui/src/org/openembedded/bc/ui/model/ProjectInfo.java | 48 |
2 files changed, 63 insertions, 0 deletions
diff --git a/org.openembedded.bc.ui/src/org/openembedded/bc/ui/model/IModelElement.java b/org.openembedded.bc.ui/src/org/openembedded/bc/ui/model/IModelElement.java new file mode 100644 index 0000000..6a352c5 --- /dev/null +++ b/org.openembedded.bc.ui/src/org/openembedded/bc/ui/model/IModelElement.java @@ -0,0 +1,15 @@ +/***************************************************************************** + * Copyright (c) 2009 Ken Gilmer + * 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: + * Ken Gilmer - initial API and implementation + *******************************************************************************/ +package org.openembedded.bc.ui.model; + +public interface IModelElement { + public void initialize() throws Exception; +} diff --git a/org.openembedded.bc.ui/src/org/openembedded/bc/ui/model/ProjectInfo.java b/org.openembedded.bc.ui/src/org/openembedded/bc/ui/model/ProjectInfo.java new file mode 100644 index 0000000..026e15b --- /dev/null +++ b/org.openembedded.bc.ui/src/org/openembedded/bc/ui/model/ProjectInfo.java @@ -0,0 +1,48 @@ +/***************************************************************************** + * Copyright (c) 2009 Ken Gilmer + * 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: + * Ken Gilmer - initial API and implementation + *******************************************************************************/ +package org.openembedded.bc.ui.model; + + +public class ProjectInfo implements IModelElement { + private String name; + private String location; + private String init; + + public ProjectInfo() { + } + + public String getInitScriptPath() { + return init; + } + public String getProjectName() { + return name; + } + public String getRootPath() { + return location; + } + public void initialize() throws Exception { + name = new String(); + location = new String(); + init = new String(); + } + + public void setInitScriptPath(String init) { + this.init = init; + } + + public void setLocation(String location) { + this.location = location; + } + + public void setName(String name) { + this.name = name; + } +} |