-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kyrill Zotkin <[email protected]>
- Loading branch information
1 parent
09a31c5
commit b355e65
Showing
13 changed files
with
103 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
...sedomain.classmaker.edit/src/org/enterprisedomain/classmaker/edit/dialogs/EOperation.view
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...sedomain.classmaker/src/org/enterprisedomain/classmaker/impl/ResourceSetURIConverter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package org.enterprisedomain.classmaker.impl; | ||
|
||
import java.util.Map; | ||
|
||
import org.eclipse.emf.common.util.URI; | ||
import org.eclipse.emf.ecore.resource.URIConverter; | ||
import org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl; | ||
import org.enterprisedomain.classmaker.Project; | ||
import org.enterprisedomain.classmaker.Revision; | ||
import org.enterprisedomain.classmaker.core.ClassMakerPlugin; | ||
|
||
public class ResourceSetURIConverter extends ExtensibleURIConverterImpl implements URIConverter { | ||
|
||
@Override | ||
public Map<URI, URI> getURIMap() { | ||
Map<URI, URI> results = super.getURIMap(); | ||
for (Project project : ClassMakerPlugin.getClassMaker().getWorkspace().getProjects()) { | ||
Revision revision = project.getRevision(); | ||
if (revision.getDomainModel().getDynamic() != null && revision.getState().getResource() != null) | ||
results.put(URI.createURI(revision.getDomainModel().getDynamic().getNsURI()), | ||
revision.getState().getResource().getURI()); | ||
} | ||
return results; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
features/org.enterprisedomain.classmaker.feature/build.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
bin.includes = feature.xml | ||
bin.includes = feature.xml,\ | ||
p2.inf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
instructions.install = \ | ||
addJvmArg(jvmArg:-Dds.delayed.keepInstances=true); | ||
|
||
instructions.install.import = \ | ||
org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg, \ | ||
org.eclipse.equinox.p2.touchpoint.eclipse.removeJvmArg; | ||
|
||
instructions.uninstall = \ | ||
removeJvmArg(jvmArg:-Dds.delayed.keepInstances=true); | ||
|
||
instructions.uninstall.import = \ | ||
org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg, \ | ||
org.eclipse.equinox.p2.touchpoint.eclipse.removeJvmArg; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters