Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic')
-rw-r--r--plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/PrepareFileSystem.xtend14
-rw-r--r--plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/RoomExtensions.xtend23
2 files changed, 0 insertions, 37 deletions
diff --git a/plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/PrepareFileSystem.xtend b/plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/PrepareFileSystem.xtend
index a9c667816..4fb52e43b 100644
--- a/plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/PrepareFileSystem.xtend
+++ b/plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/PrepareFileSystem.xtend
@@ -77,20 +77,6 @@ class PrepareFileSystem {
]
}
- def void prepareDocTargetPaths(Resource resource) {
- var Set<String> pathes = new HashSet<String>();
- for (e: resource.contents){
- if (e instanceof Root) {
- for (mdl : (e as Root).models) {
- val tgtpath = mdl.docGenerationTargetPath
- if (tgtpath!==null && !tgtpath.empty)
- pathes.add(tgtpath)
- }
- }
- }
- prepare(pathes)
- }
-
/**
* Recursively erase all folders receiving generated code
* and place a readme file in those folders.
diff --git a/plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/RoomExtensions.xtend b/plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/RoomExtensions.xtend
index 7e443e5ed..0a259aed1 100644
--- a/plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/RoomExtensions.xtend
+++ b/plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/RoomExtensions.xtend
@@ -54,7 +54,6 @@ class RoomExtensions extends FSMExtensions {
private static String genDir = "/src-gen/"
private static String genInfoDir = "/src-gen-info/"
- private static String genDocDir = "/doc-gen/"
@Inject protected extension RoomHelpers
@@ -64,18 +63,12 @@ class RoomExtensions extends FSMExtensions {
def static setDefaultGenInfoDir() {
genInfoDir = "/src-gen-info/"
}
- def static setDefaultGenDocDir() {
- genDocDir = "/doc-gen/"
- }
def static setGenDir(String dir) {
genDir = "/"+dir+"/"
}
def static setGenInfoDir(String dir) {
genInfoDir = "/"+dir+"/"
}
- def static setGenDocDir(String dir) {
- genDocDir = "/"+dir+"/"
- }
//-------------------------------------------------------
// union methods
@@ -111,13 +104,6 @@ class RoomExtensions extends FSMExtensions {
}
/**
- * @return the relative path to the destination folder for the generated documentation
- */
- def String getDocGenerationPathSegment() {
- genDocDir
- }
-
- /**
* @param e an {@link EObject}
* @return the URI of the EObject's resource as file string
* (or an empty string if no such resource exists)
@@ -202,15 +188,6 @@ class RoomExtensions extends FSMExtensions {
}
/**
- * @param e an {@link EObject}
- * @return the concatenation of the objects project path
- * with the {@link #getDocGenerationPathSegment()}
- */
- def String getDocGenerationTargetPath(EObject e){
- return getProjectPath(e)+getDocGenerationPathSegment()
- }
-
- /**
* makes a valid identifier from a path string
* @param path a slash (/) separated path
* @return the path with slashes (and colons as in replicated actors) replaced by underscores (_)

Back to the top