Commit 851e872a authored by Kristof Szabados's avatar Kristof Szabados
Browse files

as we are approaching the first release of the Java code generator, we can...


as we are approaching the first release of the Java code generator, we can make it accessible from the source code now.
Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent abea6493
...@@ -24,6 +24,7 @@ Require-Bundle: org.eclipse.ui, ...@@ -24,6 +24,7 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.debug.core, org.eclipse.debug.core,
org.eclipse.titan.common;bundle-version="6.5.1", org.eclipse.titan.common;bundle-version="6.5.1",
org.antlr.runtime;bundle-version="4.3.0", org.antlr.runtime;bundle-version="4.3.0",
org.eclipse.jdt.core;bundle-version="3.10.2",
org.eclipse.core.expressions;bundle-version="3.4.600" org.eclipse.core.expressions;bundle-version="3.4.600"
Bundle-ActivationPolicy: lazy Bundle-ActivationPolicy: lazy
Eclipse-LazyStart: true Eclipse-LazyStart: true
......
...@@ -357,7 +357,7 @@ ...@@ -357,7 +357,7 @@
<run class="org.eclipse.titan.designer.core.TITANNature" /> <run class="org.eclipse.titan.designer.core.TITANNature" />
</runtime> </runtime>
<builder id="org.eclipse.titan.designer.core.TITANBuilder" /> <builder id="org.eclipse.titan.designer.core.TITANBuilder" />
<!--<builder id="org.eclipse.titan.designer.core.TITANJavaBuilder" />--> <builder id="org.eclipse.titan.designer.core.TITANJavaBuilder" />
</extension> </extension>
<extension point="org.eclipse.ui.ide.projectNatureImages"> <extension point="org.eclipse.ui.ide.projectNatureImages">
<image icon="icons/titan.gif" id="org.eclipse.titan.designer.core.TITANNatureImage" <image icon="icons/titan.gif" id="org.eclipse.titan.designer.core.TITANNatureImage"
...@@ -369,12 +369,12 @@ ...@@ -369,12 +369,12 @@
<run class="org.eclipse.titan.designer.core.TITANBuilder" /> <run class="org.eclipse.titan.designer.core.TITANBuilder" />
</builder> </builder>
</extension> </extension>
<!--<extension id="org.eclipse.titan.designer.core.TITANJavaBuilder" <extension id="org.eclipse.titan.designer.core.TITANJavaBuilder"
name="TITANJavaBuilder" point="org.eclipse.core.resources.builders"> name="TITANJavaBuilder" point="org.eclipse.core.resources.builders">
<builder hasNature="true"> <builder hasNature="true">
<run class="org.eclipse.titan.designer.core.TITANJavaBuilder" /> <run class="org.eclipse.titan.designer.core.TITANJavaBuilder" />
</builder> </builder>
</extension>--> </extension>
<extension point="org.eclipse.ui.menus"> <extension point="org.eclipse.ui.menus">
<menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=additions"> <menuContribution locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<menu <menu
...@@ -675,7 +675,7 @@ ...@@ -675,7 +675,7 @@
</and> </and>
</enabledWhen> </enabledWhen>
</page> </page>
<!--<page name="TITAN Java Project Property" nameFilter="*" <page name="TITAN Java Project Property" nameFilter="*"
class="org.eclipse.titan.designer.properties.pages.ProjectJavaBuildPropertyPage" class="org.eclipse.titan.designer.properties.pages.ProjectJavaBuildPropertyPage"
id="org.eclipse.titan.designer.properties.pages.ProjectJavaBuildPropertyPage"> id="org.eclipse.titan.designer.properties.pages.ProjectJavaBuildPropertyPage">
<filter name="projectNature" value="org.eclipse.titan.designer.core.TITANNature"> <filter name="projectNature" value="org.eclipse.titan.designer.core.TITANNature">
...@@ -688,7 +688,7 @@ ...@@ -688,7 +688,7 @@
</test> </test>
</and> </and>
</enabledWhen> </enabledWhen>
</page>--> </page>
<page name="Naming convention" nameFilter="*" <page name="Naming convention" nameFilter="*"
class="org.eclipse.titan.designer.properties.pages.ProjectNamingConventionPropertyPage" class="org.eclipse.titan.designer.properties.pages.ProjectNamingConventionPropertyPage"
id="org.eclipse.titan.designer.properties.pages.ProjectNamingConventionPropertyPage" id="org.eclipse.titan.designer.properties.pages.ProjectNamingConventionPropertyPage"
...@@ -700,7 +700,7 @@ ...@@ -700,7 +700,7 @@
</instanceof> </instanceof>
</enabledWhen> </enabledWhen>
</page> </page>
<!--<page name="Naming convention" nameFilter="*" <page name="Naming convention" nameFilter="*"
class="org.eclipse.titan.designer.properties.pages.ProjectNamingConventionPropertyPage" class="org.eclipse.titan.designer.properties.pages.ProjectNamingConventionPropertyPage"
id="org.eclipse.titan.designer.properties.pages.JavaProjectNamingConventionPropertyPage" id="org.eclipse.titan.designer.properties.pages.JavaProjectNamingConventionPropertyPage"
category="org.eclipse.titan.designer.properties.pages.ProjectJavaBuildPropertyPage"> category="org.eclipse.titan.designer.properties.pages.ProjectJavaBuildPropertyPage">
...@@ -710,7 +710,7 @@ ...@@ -710,7 +710,7 @@
<instanceof value="org.eclipse.core.resources.IProject"> <instanceof value="org.eclipse.core.resources.IProject">
</instanceof> </instanceof>
</enabledWhen> </enabledWhen>
</page>--> </page>
<page name="Remote build" nameFilter="*" <page name="Remote build" nameFilter="*"
class="org.eclipse.titan.designer.properties.pages.ProjectRemoteBuildPropertyPage" class="org.eclipse.titan.designer.properties.pages.ProjectRemoteBuildPropertyPage"
id="org.eclipse.titan.designer.properties.pages.ProjectRemoteBuildPropertyPage" id="org.eclipse.titan.designer.properties.pages.ProjectRemoteBuildPropertyPage"
...@@ -737,7 +737,7 @@ ...@@ -737,7 +737,7 @@
</instanceof> </instanceof>
</enabledWhen> </enabledWhen>
</page> </page>
<!--<page name="Project Configurations" nameFilter="*" <page name="Project Configurations" nameFilter="*"
class="org.eclipse.titan.designer.properties.pages.ProjectConfigurationsPropertyPage" class="org.eclipse.titan.designer.properties.pages.ProjectConfigurationsPropertyPage"
id="org.eclipse.titan.designer.properties.pages.JavaProjectConfigurationsPropertyPage" id="org.eclipse.titan.designer.properties.pages.JavaProjectConfigurationsPropertyPage"
category="org.eclipse.titan.designer.properties.pages.ProjectJavaBuildPropertyPage"> category="org.eclipse.titan.designer.properties.pages.ProjectJavaBuildPropertyPage">
...@@ -747,7 +747,7 @@ ...@@ -747,7 +747,7 @@
<instanceof value="org.eclipse.core.resources.IProject"> <instanceof value="org.eclipse.core.resources.IProject">
</instanceof> </instanceof>
</enabledWhen> </enabledWhen>
</page>--> </page>
<page name="TITAN Folder Property" nameFilter="*" <page name="TITAN Folder Property" nameFilter="*"
class="org.eclipse.titan.designer.properties.pages.FolderBuildPropertyPage" class="org.eclipse.titan.designer.properties.pages.FolderBuildPropertyPage"
id="org.eclipse.titan.designer.properties.pages.FolderBuildPropertyPage"> id="org.eclipse.titan.designer.properties.pages.FolderBuildPropertyPage">
...@@ -936,12 +936,12 @@ ...@@ -936,12 +936,12 @@
name="TITAN Project" finalPerspective="org.eclipse.titan.designer.perspectives.EditingPerspective" name="TITAN Project" finalPerspective="org.eclipse.titan.designer.perspectives.EditingPerspective"
preferredPerspectives="org.eclipse.titan.designer.perspectives.EditingPerspective" preferredPerspectives="org.eclipse.titan.designer.perspectives.EditingPerspective"
project="true" /> project="true" />
<!--<wizard category="org.eclipse.titan.designer.wizards.NewTITANWizard" <wizard category="org.eclipse.titan.designer.wizards.NewTITANWizard"
class="org.eclipse.titan.designer.wizards.NewTITANJavaProjectWizard" class="org.eclipse.titan.designer.wizards.NewTITANJavaProjectWizard"
icon="icons/titan.gif" id="org.eclipse.titan.designer.wizards.NewTITANJavaProjectWizard" icon="icons/titan.gif" id="org.eclipse.titan.designer.wizards.NewTITANJavaProjectWizard"
name="TITAN Java Project" finalPerspective="org.eclipse.titan.designer.perspectives.EditingPerspective" name="TITAN Java Project" finalPerspective="org.eclipse.titan.designer.perspectives.EditingPerspective"
preferredPerspectives="org.eclipse.titan.designer.perspectives.EditingPerspective" preferredPerspectives="org.eclipse.titan.designer.perspectives.EditingPerspective"
project="true" />--> project="true" />
<wizard category="org.eclipse.titan.designer.wizards.NewTITANWizard" <wizard category="org.eclipse.titan.designer.wizards.NewTITANWizard"
class="org.eclipse.titan.designer.wizards.NewTTCN3ModuleWizard" class="org.eclipse.titan.designer.wizards.NewTTCN3ModuleWizard"
icon="icons/ttcn.gif" id="org.eclipse.titan.designer.wizards.NewTTCN3ModuleWizard" icon="icons/ttcn.gif" id="org.eclipse.titan.designer.wizards.NewTTCN3ModuleWizard"
...@@ -1280,7 +1280,7 @@ ...@@ -1280,7 +1280,7 @@
</or> </or>
</enablement> </enablement>
</commonWizard> </commonWizard>
<!--<commonWizard type="new" <commonWizard type="new"
wizardId="org.eclipse.titan.designer.wizards.NewTITANJavaProjectWizard" wizardId="org.eclipse.titan.designer.wizards.NewTITANJavaProjectWizard"
menuGroupId="TITAN extension"> menuGroupId="TITAN extension">
<enablement> <enablement>
...@@ -1289,7 +1289,7 @@ ...@@ -1289,7 +1289,7 @@
<adapt type="org.eclipse.core.resources.IWorkspaceRoot" /> <adapt type="org.eclipse.core.resources.IWorkspaceRoot" />
</or> </or>
</enablement> </enablement>
</commonWizard>--> </commonWizard>
<commonWizard type="new" <commonWizard type="new"
wizardId="org.eclipse.titan.designer.wizards.NewTTCN3ModuleWizard" wizardId="org.eclipse.titan.designer.wizards.NewTTCN3ModuleWizard"
menuGroupId="TITAN extension"> menuGroupId="TITAN extension">
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
******************************************************************************/ ******************************************************************************/
package org.eclipse.titan.designer.wizards; package org.eclipse.titan.designer.wizards;
/*
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.InputStream; import java.io.InputStream;
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;
...@@ -49,7 +49,7 @@ import org.eclipse.ui.IWorkbench; ...@@ -49,7 +49,7 @@ import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.actions.WorkspaceModifyOperation; import org.eclipse.ui.actions.WorkspaceModifyOperation;
import org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard; import org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard;
import org.eclipse.ui.wizards.newresource.BasicNewResourceWizard; import org.eclipse.ui.wizards.newresource.BasicNewResourceWizard;
*/
/** /**
* This is temporal/experimental code for a new project wizard for a new feature. * This is temporal/experimental code for a new project wizard for a new feature.
...@@ -57,8 +57,8 @@ import org.eclipse.ui.wizards.newresource.BasicNewResourceWizard; ...@@ -57,8 +57,8 @@ import org.eclipse.ui.wizards.newresource.BasicNewResourceWizard;
* CQ request is on the way for the new dependencies. * CQ request is on the way for the new dependencies.
* Users should not be able to activate this feature before it is ready and stable. * Users should not be able to activate this feature before it is ready and stable.
* */ * */
public class NewTITANJavaProjectWizard /*extends BasicNewResourceWizard implements IExecutableExtension*/ { public class NewTITANJavaProjectWizard extends BasicNewResourceWizard implements IExecutableExtension {
/* private static final String NEWPROJECT_WINDOWTITLE = "New TITAN Java Project"; private static final String NEWPROJECT_WINDOWTITLE = "New TITAN Java Project";
private static final String NEWPROJECT_TITLE = "Create a TITAN Java Project"; private static final String NEWPROJECT_TITLE = "Create a TITAN Java Project";
private static final String NEWPROJECT_DESCRIPTION = "Create a new TITAN Java project in the workspace or in an external location"; private static final String NEWPROJECT_DESCRIPTION = "Create a new TITAN Java project in the workspace or in an external location";
private static final String CREATING_PROJECT = "creating project"; private static final String CREATING_PROJECT = "creating project";
...@@ -329,5 +329,5 @@ public class NewTITANJavaProjectWizard /*extends BasicNewResourceWizard implemen ...@@ -329,5 +329,5 @@ public class NewTITANJavaProjectWizard /*extends BasicNewResourceWizard implemen
return true; return true;
} }
*/
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment