You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by sp...@apache.org on 2006/06/24 15:51:24 UTC
svn commit: r416915 - in
/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui:
editors/GeronimoFormContentLoader.java pages/DeploymentPage.java
sections/GBeanSection.java
Author: sppatel
Date: Sat Jun 24 06:51:24 2006
New Revision: 416915
URL: http://svn.apache.org/viewvc?rev=416915&view=rev
Log:
fix table
Modified:
geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/editors/GeronimoFormContentLoader.java
geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/pages/DeploymentPage.java
geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/GBeanSection.java
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/editors/GeronimoFormContentLoader.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/editors/GeronimoFormContentLoader.java?rev=416915&r1=416914&r2=416915&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/editors/GeronimoFormContentLoader.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/editors/GeronimoFormContentLoader.java Sat Jun 24 06:51:24 2006
@@ -110,33 +110,35 @@
protected FormPage getWebDeploymentPage(FormEditor editor) {
DeploymentPage formPage = createDeploymentFormPage(editor);
formPage.environment = WebFactory.eINSTANCE.getWebPackage().getWebAppType_Environment();
+ formPage.gbeanERef = WebFactory.eINSTANCE.getWebPackage().getWebAppType_Gbean();
return formPage;
}
private FormPage getEjbJarDeploymentPage(FormEditor editor) {
DeploymentPage formPage = createDeploymentFormPage(editor);
formPage.environment = JarFactory.eINSTANCE.getJarPackage().getOpenejbJarType_Environment();
+ formPage.gbeanERef = JarFactory.eINSTANCE.getJarPackage().getOpenejbJarType_Gbean();
return formPage;
}
protected FormPage getApplicationDeploymentPage(FormEditor editor) {
DeploymentPage formPage = createDeploymentFormPage(editor);
formPage.environment = ApplicationFactory.eINSTANCE.getApplicationPackage().getApplicationType_Environment();
+ formPage.gbeanERef = ApplicationFactory.eINSTANCE.getApplicationPackage().getApplicationType_Gbean();
return formPage;
}
private FormPage getConnectorDeploymentPage(FormEditor editor) {
DeploymentPage formPage = createDeploymentFormPage(editor);
formPage.environment = ConnectorFactory.eINSTANCE.getConnectorPackage().getConnectorType_Environment();
+ formPage.gbeanERef = ConnectorFactory.eINSTANCE.getConnectorPackage().getConnectorType_Gbean();
return formPage;
}
- // TODO push to superclass
private NamingFormPage createNamingFormPage(FormEditor editor) {
return new NamingFormPage(editor, "namingpage", CommonMessages.editorTabNaming);
}
- // TODO Push to superclass
private DeploymentPage createDeploymentFormPage(FormEditor editor) {
return new DeploymentPage(editor, "deploymentpage", CommonMessages.editorTabDeployment);
}
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/pages/DeploymentPage.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/pages/DeploymentPage.java?rev=416915&r1=416914&r2=416915&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/pages/DeploymentPage.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/pages/DeploymentPage.java Sat Jun 24 06:51:24 2006
@@ -26,6 +26,8 @@
public class DeploymentPage extends AbstractGeronimoFormPage {
public EReference environment;
+
+ public EReference gbeanERef;
public DeploymentPage(FormEditor editor, String id, String title) {
super(editor, id, title);
@@ -38,7 +40,7 @@
*/
protected void fillBody(IManagedForm managedForm) {
managedForm.addPart(new DependencySection(getDeploymentPlan(), environment, body, toolkit, getStyle()));
- managedForm.addPart(new GBeanSection(getDeploymentPlan(), environment, body, toolkit, getStyle()));
+ managedForm.addPart(new GBeanSection(getDeploymentPlan(), gbeanERef, body, toolkit, getStyle()));
}
/*
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/GBeanSection.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/GBeanSection.java?rev=416915&r1=416914&r2=416915&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/GBeanSection.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/GBeanSection.java Sat Jun 24 06:51:24 2006
@@ -33,8 +33,7 @@
private EReference gBeanERef;
private static final String[] COLUMN_NAMES = new String[] {
- CommonMessages.name, CommonMessages.GbeanName,
- CommonMessages.className };
+ CommonMessages.name, CommonMessages.className };
/**
* @param plan