Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.emf.refactor.refactoring.generator/src/org/eclipse/emf/refactor/refactoring/generator/managers/GenerationManager.java4
-rw-r--r--org.eclipse.emf.refactor.refactoring.generator/src/org/eclipse/emf/refactor/refactoring/generator/ui/TestWizardPage.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.emf.refactor.refactoring.generator/src/org/eclipse/emf/refactor/refactoring/generator/managers/GenerationManager.java b/org.eclipse.emf.refactor.refactoring.generator/src/org/eclipse/emf/refactor/refactoring/generator/managers/GenerationManager.java
index 302e9be..1e4a1da 100644
--- a/org.eclipse.emf.refactor.refactoring.generator/src/org/eclipse/emf/refactor/refactoring/generator/managers/GenerationManager.java
+++ b/org.eclipse.emf.refactor.refactoring.generator/src/org/eclipse/emf/refactor/refactoring/generator/managers/GenerationManager.java
@@ -129,7 +129,7 @@ public class GenerationManager {
return td;
}
- private List<IClasspathEntry> setClassPathEntries() {
+ protected List<IClasspathEntry> setClassPathEntries() {
List<IClasspathEntry> cpe = new ArrayList<IClasspathEntry>();
// add org.eclipse.emf.refactor.refactoring.generator to class path
Bundle bundle = Platform.getBundle(Activator.PLUGIN_ID);
@@ -326,7 +326,7 @@ public class GenerationManager {
* @param template Name of the template used by JET.
* @return Generated code as String.
*/
- private String generateCode(IProgressMonitor monitor, String template) {
+ protected String generateCode(IProgressMonitor monitor, String template) {
String templatePath = this.templateDirectory + template + JAVAJET;
ClassLoader classLoader = getClass().getClassLoader();
this.jetEmitter = new JETEmitter(templatePath, classLoader);
diff --git a/org.eclipse.emf.refactor.refactoring.generator/src/org/eclipse/emf/refactor/refactoring/generator/ui/TestWizardPage.java b/org.eclipse.emf.refactor.refactoring.generator/src/org/eclipse/emf/refactor/refactoring/generator/ui/TestWizardPage.java
index 6835991..6eca586 100644
--- a/org.eclipse.emf.refactor.refactoring.generator/src/org/eclipse/emf/refactor/refactoring/generator/ui/TestWizardPage.java
+++ b/org.eclipse.emf.refactor.refactoring.generator/src/org/eclipse/emf/refactor/refactoring/generator/ui/TestWizardPage.java
@@ -40,7 +40,7 @@ public class TestWizardPage extends WizardPage implements Listener {
/**
* Default constructor.
*/
- protected TestWizardPage() {
+ public TestWizardPage() {
super(PAGE_NAME);
setTitle(PAGE_TITLE);
setDescription(PAGE_DESCRIPTION);

Back to the top