Skip to main content
summaryrefslogtreecommitdiffstats
blob: 41b66c0b288e68c4638a89812af84e473145e5fc (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
/*******************************************************************************
* Copyright (c) 2014 BestSolution.at 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:
* 	Tom Schindl<tom.schindl@bestsolution.at> - initial API and implementation
*******************************************************************************/
@GenModel(updateClasspath="false")
package org.eclipse.fx.code.compensator.model.workbench

annotation "http://www.eclipse.org/emf/2002/GenModel" as GenModel

abstract class WorkbenchElement {
	contains WorkbenchElement[0..*] elements
	contains Resource[0..*] resources
	contains Project[0..*] projectList
}

class Workbench extends WorkbenchElement {

}

abstract class Resource {

}

class File extends Resource {
	String url
}

class Folder extends Resource {
	String url
}

class ResourceGroup extends Resource {
	String name
	contains Resource[0..*] resources
}

abstract class ModuleContainer {
	contains Module[0..*] moduleList
}

class Project extends ModuleContainer {
	String projectId
	String name
	String projectType
	String iconURI
	contains BugTracker[0..*] bugTrackerList
}

class RemoteProject extends Project {
	String remoteServiceType
}

class LocalProject extends Project {
	contains VCSRepository[0..*] vcsRepositoryList
}

class VCSRepository {
	String label
	String repoType
	String repoURI
	String localURI
	String repoUsername
	String repoPassword
}

class BugTracker {
	String label
	String bugtrackerType
	String bugtrackerUrl
	String bugtrackerUsername
	String bugtrackerPassword
}

class Module extends ModuleContainer {
	String name
	String rootFolderUrl
}

Back to the top