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/03/04 02:30:47 UTC
svn commit: r382997 [4/7] - in /geronimo/devtools/eclipse-plugin/trunk: ./
assembly/ etc/ features/org.apache.geronimo.feature.source/
features/org.apache.geronimo.feature/
features/org.apache.geronimo.installableruntime.tomcat.feature/
geronimo-emf/ m...
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ApplicationPlanEditor.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ApplicationPlanEditor.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ApplicationPlanEditor.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ApplicationPlanEditor.java Fri Mar 3 17:30:38 2006
@@ -1,73 +1,73 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.ui.editors;
-
-import org.apache.geronimo.core.internal.GeronimoUtils;
-import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.pages.AppGeneralPage;
-import org.apache.geronimo.ui.pages.DeploymentPage;
-import org.apache.geronimo.ui.pages.SecurityPage;
-import org.apache.geronimo.xml.ns.j2ee.application.ApplicationFactory;
-import org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.forms.editor.FormPage;
-
-public class ApplicationPlanEditor extends AbstractGeronimoDeploymentPlanEditor {
-
- public ApplicationPlanEditor() {
- super();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.apache.geronimo.ui.editors.AbstractGeronimoDeploymentPlanEditor#doAddPages()
- */
- public void doAddPages() throws PartInitException {
- if (getDeploymentPlan() != null) {
- addPage(new AppGeneralPage(this, "appgeneralpage",
- Messages.editorTabGeneral));
- addPage(new SecurityPage(this, "securitypage",
- Messages.editorTabSecurity, ApplicationPackage.eINSTANCE
- .getApplicationType_Security()));
- addPage(getDeploymentPage());
- }
- addSourcePage();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.apache.geronimo.ui.editors.AbstractGeronimoDeploymentPlanEditor#loadDeploymentPlan(org.eclipse.core.resources.IFile)
- */
- public EObject loadDeploymentPlan(IFile file) {
- return GeronimoUtils.getApplicationDeploymentPlan(file);
- }
-
- private FormPage getDeploymentPage() {
- DeploymentPage formPage = new DeploymentPage(this, "deploymentpage",
- Messages.editorTabDeployment);
- ApplicationPackage pkg = ApplicationFactory.eINSTANCE
- .getApplicationPackage();
- formPage.dependencies = pkg.getApplicationType_Dependency();
- formPage.imports = pkg.getApplicationType_Import();
- formPage.gbeans = pkg.getApplicationType_Gbean();
- return formPage;
- }
-
-}
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.ui.editors;
+
+import org.apache.geronimo.core.internal.GeronimoUtils;
+import org.apache.geronimo.ui.internal.Messages;
+import org.apache.geronimo.ui.pages.AppGeneralPage;
+import org.apache.geronimo.ui.pages.DeploymentPage;
+import org.apache.geronimo.ui.pages.SecurityPage;
+import org.apache.geronimo.xml.ns.j2ee.application.ApplicationFactory;
+import org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.forms.editor.FormPage;
+
+public class ApplicationPlanEditor extends AbstractGeronimoDeploymentPlanEditor {
+
+ public ApplicationPlanEditor() {
+ super();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.apache.geronimo.ui.editors.AbstractGeronimoDeploymentPlanEditor#doAddPages()
+ */
+ public void doAddPages() throws PartInitException {
+ if (getDeploymentPlan() != null) {
+ addPage(new AppGeneralPage(this, "appgeneralpage",
+ Messages.editorTabGeneral));
+ addPage(new SecurityPage(this, "securitypage",
+ Messages.editorTabSecurity, ApplicationPackage.eINSTANCE
+ .getApplicationType_Security()));
+ addPage(getDeploymentPage());
+ }
+ addSourcePage();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.apache.geronimo.ui.editors.AbstractGeronimoDeploymentPlanEditor#loadDeploymentPlan(org.eclipse.core.resources.IFile)
+ */
+ public EObject loadDeploymentPlan(IFile file) {
+ return GeronimoUtils.getApplicationDeploymentPlan(file);
+ }
+
+ private FormPage getDeploymentPage() {
+ DeploymentPage formPage = new DeploymentPage(this, "deploymentpage",
+ Messages.editorTabDeployment);
+ ApplicationPackage pkg = ApplicationFactory.eINSTANCE
+ .getApplicationPackage();
+ formPage.dependencies = pkg.getApplicationType_Dependency();
+ formPage.imports = pkg.getApplicationType_Import();
+ formPage.gbeans = pkg.getApplicationType_Gbean();
+ return formPage;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ApplicationPlanEditor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ApplicationPlanEditor.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ApplicationPlanEditor.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ConnectorPlanEditor.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ConnectorPlanEditor.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ConnectorPlanEditor.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ConnectorPlanEditor.java Fri Mar 3 17:30:38 2006
@@ -1,63 +1,63 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.ui.editors;
-
-import org.apache.geronimo.core.internal.GeronimoUtils;
-import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.pages.ConnectorOverviewPage;
-import org.apache.geronimo.ui.pages.DeploymentPage;
-import org.apache.geronimo.xml.ns.j2ee.connector.ConnectorFactory;
-import org.apache.geronimo.xml.ns.j2ee.connector.ConnectorPackage;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.forms.editor.FormPage;
-
-public class ConnectorPlanEditor extends AbstractGeronimoDeploymentPlanEditor {
-
- public ConnectorPlanEditor() {
- super();
- }
-
- public void doAddPages() throws PartInitException {
- if (getDeploymentPlan() != null) {
- addPage(new ConnectorOverviewPage(this, "connectoroverview",
- Messages.editorTabGeneral));
- addPage(getDeploymentPage());
- }
- addSourcePage();
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.apache.geronimo.ui.editors.AbstractGeronimoDeploymentPlanEditor#loadDeploymentPlan(org.eclipse.core.resources.IFile)
- */
- public EObject loadDeploymentPlan(IFile file) {
- return GeronimoUtils.getConnectorDeploymentPlan(file);
- }
-
- private FormPage getDeploymentPage() {
- DeploymentPage formPage = new DeploymentPage(this, "deploymentpage",
- Messages.editorTabDeployment);
- ConnectorPackage pkg = ConnectorFactory.eINSTANCE.getConnectorPackage();
- formPage.dependencies = pkg.getConnectorType_Dependency();
- formPage.imports = pkg.getConnectorType_Import();
- formPage.gbeans = pkg.getConnectorType_Gbean();
- return formPage;
- }
-
-}
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.ui.editors;
+
+import org.apache.geronimo.core.internal.GeronimoUtils;
+import org.apache.geronimo.ui.internal.Messages;
+import org.apache.geronimo.ui.pages.ConnectorOverviewPage;
+import org.apache.geronimo.ui.pages.DeploymentPage;
+import org.apache.geronimo.xml.ns.j2ee.connector.ConnectorFactory;
+import org.apache.geronimo.xml.ns.j2ee.connector.ConnectorPackage;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.forms.editor.FormPage;
+
+public class ConnectorPlanEditor extends AbstractGeronimoDeploymentPlanEditor {
+
+ public ConnectorPlanEditor() {
+ super();
+ }
+
+ public void doAddPages() throws PartInitException {
+ if (getDeploymentPlan() != null) {
+ addPage(new ConnectorOverviewPage(this, "connectoroverview",
+ Messages.editorTabGeneral));
+ addPage(getDeploymentPage());
+ }
+ addSourcePage();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.apache.geronimo.ui.editors.AbstractGeronimoDeploymentPlanEditor#loadDeploymentPlan(org.eclipse.core.resources.IFile)
+ */
+ public EObject loadDeploymentPlan(IFile file) {
+ return GeronimoUtils.getConnectorDeploymentPlan(file);
+ }
+
+ private FormPage getDeploymentPage() {
+ DeploymentPage formPage = new DeploymentPage(this, "deploymentpage",
+ Messages.editorTabDeployment);
+ ConnectorPackage pkg = ConnectorFactory.eINSTANCE.getConnectorPackage();
+ formPage.dependencies = pkg.getConnectorType_Dependency();
+ formPage.imports = pkg.getConnectorType_Import();
+ formPage.gbeans = pkg.getConnectorType_Gbean();
+ return formPage;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ConnectorPlanEditor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ConnectorPlanEditor.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/ConnectorPlanEditor.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/OpenEjbPlanEditor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/OpenEjbPlanEditor.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/OpenEjbPlanEditor.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/WebEditor.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/WebEditor.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/WebEditor.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/WebEditor.java Fri Mar 3 17:30:38 2006
@@ -1,79 +1,79 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.ui.editors;
-
-import org.apache.geronimo.core.internal.GeronimoUtils;
-import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.pages.DeploymentPage;
-import org.apache.geronimo.ui.pages.NamingFormPage;
-import org.apache.geronimo.ui.pages.SecurityPage;
-import org.apache.geronimo.ui.pages.WebGeneralPage;
-import org.apache.geronimo.xml.ns.j2ee.web.WebFactory;
-import org.apache.geronimo.xml.ns.j2ee.web.WebPackage;
-import org.apache.geronimo.xml.ns.j2ee.web.impl.WebPackageImpl;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.forms.editor.FormPage;
-
-public class WebEditor extends AbstractGeronimoDeploymentPlanEditor {
-
- /*
- * (non-Javadoc)
- *
- * @see org.apache.geronimo.ui.editors.AbstractGeronimoDeploymentPlanEditor#doAddPages()
- */
- public void doAddPages() throws PartInitException {
- if (getDeploymentPlan() != null) {
- addPage(new WebGeneralPage(this, "generalpage",
- Messages.editorTabGeneral));
- addPage(getNamingPage());
- addPage(new SecurityPage(this, "securitypage",
- Messages.editorTabSecurity, WebPackageImpl.eINSTANCE
- .getWebAppType_Security()));
- addPage(getDeploymentPage());
- }
- addSourcePage();
- }
-
- public EObject loadDeploymentPlan(IFile file) {
- return GeronimoUtils.getWebDeploymentPlan(file);
- }
-
- private FormPage getNamingPage() {
- NamingFormPage formPage = new NamingFormPage(this, "namingpage",
- Messages.editorTabNaming);
- WebPackage pkg = WebFactory.eINSTANCE.getWebPackage();
- formPage.ejbLocalRef = pkg.getWebAppType_EjbLocalRef();
- formPage.ejbRef = pkg.getWebAppType_EjbRef();
- formPage.resEnvRef = pkg.getWebAppType_ResourceEnvRef();
- formPage.resRef = pkg.getWebAppType_ResourceRef();
- formPage.gbeanRef = pkg.getWebAppType_GbeanRef();
- formPage.serviceRef = pkg.getWebAppType_ServiceRef();
- return formPage;
- }
-
- private FormPage getDeploymentPage() {
- DeploymentPage formPage = new DeploymentPage(this, "deploymentpage",
- Messages.editorTabDeployment);
- WebPackage pkg = WebFactory.eINSTANCE.getWebPackage();
- formPage.dependencies = pkg.getWebAppType_Dependency();
- formPage.imports = pkg.getWebAppType_Import();
- formPage.gbeans = pkg.getWebAppType_Gbean();
- return formPage;
- }
-
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.ui.editors;
+
+import org.apache.geronimo.core.internal.GeronimoUtils;
+import org.apache.geronimo.ui.internal.Messages;
+import org.apache.geronimo.ui.pages.DeploymentPage;
+import org.apache.geronimo.ui.pages.NamingFormPage;
+import org.apache.geronimo.ui.pages.SecurityPage;
+import org.apache.geronimo.ui.pages.WebGeneralPage;
+import org.apache.geronimo.xml.ns.j2ee.web.WebFactory;
+import org.apache.geronimo.xml.ns.j2ee.web.WebPackage;
+import org.apache.geronimo.xml.ns.j2ee.web.impl.WebPackageImpl;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.forms.editor.FormPage;
+
+public class WebEditor extends AbstractGeronimoDeploymentPlanEditor {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.apache.geronimo.ui.editors.AbstractGeronimoDeploymentPlanEditor#doAddPages()
+ */
+ public void doAddPages() throws PartInitException {
+ if (getDeploymentPlan() != null) {
+ addPage(new WebGeneralPage(this, "generalpage",
+ Messages.editorTabGeneral));
+ addPage(getNamingPage());
+ addPage(new SecurityPage(this, "securitypage",
+ Messages.editorTabSecurity, WebPackageImpl.eINSTANCE
+ .getWebAppType_Security()));
+ addPage(getDeploymentPage());
+ }
+ addSourcePage();
+ }
+
+ public EObject loadDeploymentPlan(IFile file) {
+ return GeronimoUtils.getWebDeploymentPlan(file);
+ }
+
+ private FormPage getNamingPage() {
+ NamingFormPage formPage = new NamingFormPage(this, "namingpage",
+ Messages.editorTabNaming);
+ WebPackage pkg = WebFactory.eINSTANCE.getWebPackage();
+ formPage.ejbLocalRef = pkg.getWebAppType_EjbLocalRef();
+ formPage.ejbRef = pkg.getWebAppType_EjbRef();
+ formPage.resEnvRef = pkg.getWebAppType_ResourceEnvRef();
+ formPage.resRef = pkg.getWebAppType_ResourceRef();
+ formPage.gbeanRef = pkg.getWebAppType_GbeanRef();
+ formPage.serviceRef = pkg.getWebAppType_ServiceRef();
+ return formPage;
+ }
+
+ private FormPage getDeploymentPage() {
+ DeploymentPage formPage = new DeploymentPage(this, "deploymentpage",
+ Messages.editorTabDeployment);
+ WebPackage pkg = WebFactory.eINSTANCE.getWebPackage();
+ formPage.dependencies = pkg.getWebAppType_Dependency();
+ formPage.imports = pkg.getWebAppType_Import();
+ formPage.gbeans = pkg.getWebAppType_Gbean();
+ return formPage;
+ }
+
}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/WebEditor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/WebEditor.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/WebEditor.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoUIPlugin.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoUIPlugin.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoUIPlugin.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoUIPlugin.java Fri Mar 3 17:30:38 2006
@@ -1,126 +1,126 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.ui.internal;
-
-import java.io.IOException;
-import java.net.URL;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.resource.ImageRegistry;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class GeronimoUIPlugin extends AbstractUIPlugin {
- protected static final String PLUGIN_ID = "org.apache.geronimo.ui";
-
- private static final String ICONS_DIRECTORY = "icons/";
-
- private static String iconLocation;
-
- private static GeronimoUIPlugin singleton;
-
- protected Map imageDescriptors = new HashMap();
-
- public static final String IMG_WIZ_GERONIMO = "gServer";
-
- /**
- * The constructor.
- */
- public GeronimoUIPlugin() {
- super();
- singleton = this;
- }
-
- /**
- * Returns the singleton instance of this plugin.
- *
- * @return org.apache.geronimo.ui.internal.GeronimoUIPlugin
- */
- public static GeronimoUIPlugin getInstance() {
- return singleton;
- }
-
- public static String getIconLocation() {
- if (iconLocation == null) {
- try {
- iconLocation = Platform.resolve(
- GeronimoUIPlugin.getInstance().getBundle()
- .getEntry("/")).getPath()
- + ICONS_DIRECTORY;
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
- return iconLocation;
- }
-
- /**
- * Return the image with the given key from the image registry.
- *
- * @param key
- * java.lang.String
- * @return org.eclipse.jface.parts.IImage
- */
- public static Image getImage(String key) {
- return getInstance().getImageRegistry().get(key);
- }
-
- /**
- * Return the image with the given key from the image registry.
- *
- * @param key
- * java.lang.String
- * @return org.eclipse.jface.parts.IImage
- */
- public static ImageDescriptor getImageDescriptor(String key) {
- try {
- getInstance().getImageRegistry();
- return (ImageDescriptor) getInstance().imageDescriptors.get(key);
- } catch (Exception e) {
- return null;
- }
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry)
- */
- protected void initializeImageRegistry(ImageRegistry reg) {
- registerImage(reg, IMG_WIZ_GERONIMO, "g_server.gif");
- }
-
- private void registerImage(ImageRegistry registry, String key,
- String partialURL) {
-
- URL iconsURL = singleton.getBundle().getEntry(ICONS_DIRECTORY);
-
- try {
- ImageDescriptor id = ImageDescriptor.createFromURL(new URL(
- iconsURL, partialURL));
- registry.put(key, id);
- imageDescriptors.put(key, id);
- } catch (Exception e) {
- Trace.trace(Trace.WARNING, "Error registering image", e);
- }
- }
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.ui.internal;
+
+import java.io.IOException;
+import java.net.URL;
+import java.util.HashMap;
+import java.util.Map;
+
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.resource.ImageRegistry;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+
+/**
+ * The main plugin class to be used in the desktop.
+ */
+public class GeronimoUIPlugin extends AbstractUIPlugin {
+ protected static final String PLUGIN_ID = "org.apache.geronimo.ui";
+
+ private static final String ICONS_DIRECTORY = "icons/";
+
+ private static String iconLocation;
+
+ private static GeronimoUIPlugin singleton;
+
+ protected Map imageDescriptors = new HashMap();
+
+ public static final String IMG_WIZ_GERONIMO = "gServer";
+
+ /**
+ * The constructor.
+ */
+ public GeronimoUIPlugin() {
+ super();
+ singleton = this;
+ }
+
+ /**
+ * Returns the singleton instance of this plugin.
+ *
+ * @return org.apache.geronimo.ui.internal.GeronimoUIPlugin
+ */
+ public static GeronimoUIPlugin getInstance() {
+ return singleton;
+ }
+
+ public static String getIconLocation() {
+ if (iconLocation == null) {
+ try {
+ iconLocation = Platform.resolve(
+ GeronimoUIPlugin.getInstance().getBundle()
+ .getEntry("/")).getPath()
+ + ICONS_DIRECTORY;
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ return iconLocation;
+ }
+
+ /**
+ * Return the image with the given key from the image registry.
+ *
+ * @param key
+ * java.lang.String
+ * @return org.eclipse.jface.parts.IImage
+ */
+ public static Image getImage(String key) {
+ return getInstance().getImageRegistry().get(key);
+ }
+
+ /**
+ * Return the image with the given key from the image registry.
+ *
+ * @param key
+ * java.lang.String
+ * @return org.eclipse.jface.parts.IImage
+ */
+ public static ImageDescriptor getImageDescriptor(String key) {
+ try {
+ getInstance().getImageRegistry();
+ return (ImageDescriptor) getInstance().imageDescriptors.get(key);
+ } catch (Exception e) {
+ return null;
+ }
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry)
+ */
+ protected void initializeImageRegistry(ImageRegistry reg) {
+ registerImage(reg, IMG_WIZ_GERONIMO, "g_server.gif");
+ }
+
+ private void registerImage(ImageRegistry registry, String key,
+ String partialURL) {
+
+ URL iconsURL = singleton.getBundle().getEntry(ICONS_DIRECTORY);
+
+ try {
+ ImageDescriptor id = ImageDescriptor.createFromURL(new URL(
+ iconsURL, partialURL));
+ registry.put(key, id);
+ imageDescriptors.put(key, id);
+ } catch (Exception e) {
+ Trace.trace(Trace.WARNING, "Error registering image", e);
+ }
+ }
}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoUIPlugin.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoUIPlugin.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoUIPlugin.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java Fri Mar 3 17:30:38 2006
@@ -1,194 +1,194 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.ui.internal;
-
-import org.eclipse.osgi.util.NLS;
-
-/**
- * Translated messages.
- */
-public class Messages extends NLS {
- public static String appGeneralPageTitle;
- public static String connectorOverViewPageTitle;
- public static String deploymentPageTitle;
- public static String namingFormPageTitle;
- public static String securityPageTitle;
- public static String webGeneralPageTitle;
- public static String editorTabGeneral;
- public static String editorTabNaming;
- public static String editorTabSecurity;
- public static String editorTabDeployment;
- public static String editorTabSource;
- public static String errorCouldNotOpenFile;
- public static String editorTitle;
- public static String editorSectionGeneralTitle;
- public static String editorSectionGeneralDescription;
- public static String editorConfigId;
- public static String editorParentId;
- public static String editorContextRoot;
- public static String editorClassloader;
- public static String editorClassloaderServer;
- public static String editorClassloaderWebApp;
- public static String securityRealmName;
- //
- public static String editorSectionSecurityRolesTitle;
- public static String editorSectionSecurityRolesDescription;
- public static String name;
- public static String description;
- //
- public static String editorSectionDependenciesTitle;
- public static String editorSectionDependenciesDescription;
- //
- public static String editorSectionImportTitle;
- public static String editorSectionImportDescription;
- //
- public static String editorSectionGBeanTitle;
- public static String editorSectionGBeanDescription;
- public static String className;
- public static String GbeanName;
- //
- public static String editorResourceRefDescription;
- public static String editorResourceRefTitle;
- public static String editorResRefTargetNameTitle;
- public static String editorResRefLinkTitle;
- public static String editorResRefNameTitle;
- //
- public static String editorGBeanRefTitle;
- public static String editorGBeanRefDescription;
- public static String editorGBeanRefName;
- public static String editorGBeanRefType;
- public static String editorGBeanRefTargetName;
- public static String editorGBeanRefProxyType;
- //
- public static String editorServiceRefDescription;
- public static String editorServiceRefTitle;
- public static String editorServiceRefName;
- //
- public static String editorResourceEnvRefDescription;
- public static String editorResourceEnvRefTitle;
- public static String editorResEnvRefMsgDestTitle;
- public static String editorResEnvRefNameTitle;
- //
- public static String editorEjbLocalRefDescription;
- public static String editorEjbLocalRefTitle;
- public static String editorEjbRefTargetName;
- public static String editorEjbRefEjbLink;
- //
- public static String editorEjbRefDescription;
- public static String editorEjbRefTitle;
- // Buttons
- public static String add;
- public static String remove;
- public static String edit;
- // Wizard/Wizard Pages
- public static String wizardNewTitle_ResRef;
- public static String wizardEditTitle_ResRef;
- public static String wizardPageTitle_ResRef;
- public static String wizardPageDescription_ResRef;
- //
- public static String wizardNewTitle_GBeanRef;
- public static String wizardEditTitle_GBeanRef;
- public static String wizardPageTitle_GBeanRef;
- public static String wizardPageDescription_GBeanRef;
- //
- public static String wizardNewTitle_ServiceRef;
- public static String wizardEditTitle_ServiceRef;
- public static String wizardPageTitle_ServiceRef;
- public static String wizardPageDescription_ServiceRef;
- //
- public static String wizardNewTitle_ResEnvRef;
- public static String wizardEditTitle_ResEnvRef;
- public static String wizardPageTitle_ResEnvRef;
- public static String wizardPageDescription_ResEnvRef;
- //
- public static String wizardNewTitle_EjbRef;
- public static String wizardEditTitle_EjbRef;
- public static String wizardPageTitle_EjbRef;
- public static String wizardPageDescription_EjbRef;
- //
- public static String wizardNewTitle_EjbLocalRef;
- public static String wizardEditTitle_EjbLocalRef;
- public static String wizardPageTitle_EjbLocalRef;
- public static String wizardPageDescription_EjbLocalRef;
- //
- public static String wizardNewTitle_Dependency;
- public static String wizardEditTitle_Dependency;
- public static String wizardPageTitle_Dependency;
- public static String wizardPageDescription_Dependency;
- public static String dependencyGroupLabel;
- public static String serverRepos;
- public static String uri;
- public static String mavenArtifact;
- public static String groupId;
- public static String artifactId;
- public static String version;
- //
- public static String wizardNewTitle_Import;
- public static String wizardEditTitle_Import;
- public static String wizardPageTitle_Import;
- public static String wizardPageDescription_Import;
- //
- public static String wizardNewTitle_GBean;
- public static String wizardEditTitle_GBean;
- public static String wizardPageTitle_GBean;
- public static String wizardPageDescription_GBean;
- //
- public static String wizardNewTitle_SecurityRole;
- public static String wizardEditTitle_SecurityRole;
- public static String wizardPageTitle_SecurityRole;
- public static String wizardPageDescription_SecurityRole;
- public static String editorSectionSecurityTitle;
- public static String editorSectionSecurityDescription;
- public static String editorSectionPortsTitle;
- public static String editorSectionPortsDescription;
- public static String editorSectionLogLevelTitle;
- public static String editorSectionLogLevelDescription;
- public static String info;
- public static String debug;
- public static String httpPort;
- public static String rmiPort;
- public static String username;
- public static String password;
- public static String console;
- public static String consoleTooltip;
- public int i;
- //
- public static String doasCurrentCaller;
- public static String useContextHandler;
- public static String defaultRole;
-
- //GeronimoServerRuntimeWizardFragment
- public static String serverWizardDescription;
- public static String browse;
- public static String installDir;
- public static String downloadOptions;
- public static String chooseWebContainer;
- public static String gWithTomcat;
- public static String gWithJetty;
- public static String install;
- public static String jvmWarning;
- public static String installTitle;
- public static String installMessage;
- public static String tooltipLoc;
- public static String tooltipInstall;
- public static String tooltipJetty;
- public static String tooltipTomcat;
-
- static {
- NLS.initializeMessages(GeronimoUIPlugin.PLUGIN_ID
- + ".internal.Messages", Messages.class);
- }
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.ui.internal;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * Translated messages.
+ */
+public class Messages extends NLS {
+ public static String appGeneralPageTitle;
+ public static String connectorOverViewPageTitle;
+ public static String deploymentPageTitle;
+ public static String namingFormPageTitle;
+ public static String securityPageTitle;
+ public static String webGeneralPageTitle;
+ public static String editorTabGeneral;
+ public static String editorTabNaming;
+ public static String editorTabSecurity;
+ public static String editorTabDeployment;
+ public static String editorTabSource;
+ public static String errorCouldNotOpenFile;
+ public static String editorTitle;
+ public static String editorSectionGeneralTitle;
+ public static String editorSectionGeneralDescription;
+ public static String editorConfigId;
+ public static String editorParentId;
+ public static String editorContextRoot;
+ public static String editorClassloader;
+ public static String editorClassloaderServer;
+ public static String editorClassloaderWebApp;
+ public static String securityRealmName;
+ //
+ public static String editorSectionSecurityRolesTitle;
+ public static String editorSectionSecurityRolesDescription;
+ public static String name;
+ public static String description;
+ //
+ public static String editorSectionDependenciesTitle;
+ public static String editorSectionDependenciesDescription;
+ //
+ public static String editorSectionImportTitle;
+ public static String editorSectionImportDescription;
+ //
+ public static String editorSectionGBeanTitle;
+ public static String editorSectionGBeanDescription;
+ public static String className;
+ public static String GbeanName;
+ //
+ public static String editorResourceRefDescription;
+ public static String editorResourceRefTitle;
+ public static String editorResRefTargetNameTitle;
+ public static String editorResRefLinkTitle;
+ public static String editorResRefNameTitle;
+ //
+ public static String editorGBeanRefTitle;
+ public static String editorGBeanRefDescription;
+ public static String editorGBeanRefName;
+ public static String editorGBeanRefType;
+ public static String editorGBeanRefTargetName;
+ public static String editorGBeanRefProxyType;
+ //
+ public static String editorServiceRefDescription;
+ public static String editorServiceRefTitle;
+ public static String editorServiceRefName;
+ //
+ public static String editorResourceEnvRefDescription;
+ public static String editorResourceEnvRefTitle;
+ public static String editorResEnvRefMsgDestTitle;
+ public static String editorResEnvRefNameTitle;
+ //
+ public static String editorEjbLocalRefDescription;
+ public static String editorEjbLocalRefTitle;
+ public static String editorEjbRefTargetName;
+ public static String editorEjbRefEjbLink;
+ //
+ public static String editorEjbRefDescription;
+ public static String editorEjbRefTitle;
+ // Buttons
+ public static String add;
+ public static String remove;
+ public static String edit;
+ // Wizard/Wizard Pages
+ public static String wizardNewTitle_ResRef;
+ public static String wizardEditTitle_ResRef;
+ public static String wizardPageTitle_ResRef;
+ public static String wizardPageDescription_ResRef;
+ //
+ public static String wizardNewTitle_GBeanRef;
+ public static String wizardEditTitle_GBeanRef;
+ public static String wizardPageTitle_GBeanRef;
+ public static String wizardPageDescription_GBeanRef;
+ //
+ public static String wizardNewTitle_ServiceRef;
+ public static String wizardEditTitle_ServiceRef;
+ public static String wizardPageTitle_ServiceRef;
+ public static String wizardPageDescription_ServiceRef;
+ //
+ public static String wizardNewTitle_ResEnvRef;
+ public static String wizardEditTitle_ResEnvRef;
+ public static String wizardPageTitle_ResEnvRef;
+ public static String wizardPageDescription_ResEnvRef;
+ //
+ public static String wizardNewTitle_EjbRef;
+ public static String wizardEditTitle_EjbRef;
+ public static String wizardPageTitle_EjbRef;
+ public static String wizardPageDescription_EjbRef;
+ //
+ public static String wizardNewTitle_EjbLocalRef;
+ public static String wizardEditTitle_EjbLocalRef;
+ public static String wizardPageTitle_EjbLocalRef;
+ public static String wizardPageDescription_EjbLocalRef;
+ //
+ public static String wizardNewTitle_Dependency;
+ public static String wizardEditTitle_Dependency;
+ public static String wizardPageTitle_Dependency;
+ public static String wizardPageDescription_Dependency;
+ public static String dependencyGroupLabel;
+ public static String serverRepos;
+ public static String uri;
+ public static String mavenArtifact;
+ public static String groupId;
+ public static String artifactId;
+ public static String version;
+ //
+ public static String wizardNewTitle_Import;
+ public static String wizardEditTitle_Import;
+ public static String wizardPageTitle_Import;
+ public static String wizardPageDescription_Import;
+ //
+ public static String wizardNewTitle_GBean;
+ public static String wizardEditTitle_GBean;
+ public static String wizardPageTitle_GBean;
+ public static String wizardPageDescription_GBean;
+ //
+ public static String wizardNewTitle_SecurityRole;
+ public static String wizardEditTitle_SecurityRole;
+ public static String wizardPageTitle_SecurityRole;
+ public static String wizardPageDescription_SecurityRole;
+ public static String editorSectionSecurityTitle;
+ public static String editorSectionSecurityDescription;
+ public static String editorSectionPortsTitle;
+ public static String editorSectionPortsDescription;
+ public static String editorSectionLogLevelTitle;
+ public static String editorSectionLogLevelDescription;
+ public static String info;
+ public static String debug;
+ public static String httpPort;
+ public static String rmiPort;
+ public static String username;
+ public static String password;
+ public static String console;
+ public static String consoleTooltip;
+ public int i;
+ //
+ public static String doasCurrentCaller;
+ public static String useContextHandler;
+ public static String defaultRole;
+
+ //GeronimoServerRuntimeWizardFragment
+ public static String serverWizardDescription;
+ public static String browse;
+ public static String installDir;
+ public static String downloadOptions;
+ public static String chooseWebContainer;
+ public static String gWithTomcat;
+ public static String gWithJetty;
+ public static String install;
+ public static String jvmWarning;
+ public static String installTitle;
+ public static String installMessage;
+ public static String tooltipLoc;
+ public static String tooltipInstall;
+ public static String tooltipJetty;
+ public static String tooltipTomcat;
+
+ static {
+ NLS.initializeMessages(GeronimoUIPlugin.PLUGIN_ID
+ + ".internal.Messages", Messages.class);
+ }
}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties Fri Mar 3 17:30:38 2006
@@ -1,173 +1,173 @@
-appGeneralPageTitle=Application Plan General Configuration
-connectorOverViewPageTitle=Connector Plan General Configuration
-deploymentPageTitle=Deployment Configuration
-namingFormPageTitle=Defined References
-securityPageTitle=Security Configuration
-webGeneralPageTitle=Web Deployment Plan General Configuration
-
-errorCouldNotOpenFile=Could not open file
-
-editorTitle=Geronimo Deployment Plan Editor
-editorSectionGeneralTitle=General
-editorSectionGeneralDescription=Edit the common deployment settings.
-
-editorSectionSecurityRolesTitle=Security Roles
-editorSectionSecurityRolesDescription=The following security roles are defined:
-
-editorSectionDependenciesTitle=Dependencies
-editorSectionDependenciesDescription=The following dependencies are defined as common libraries.
-
-editorSectionImportTitle=Imports
-editorSectionImportDescription=The following configurations are imported into this plan.
-
-editorSectionGBeanTitle=GBeans
-editorSectionGBeanDescription=The following gbeans are defined in this plan.
-className=Class
-GbeanName=Gbean Name
-
-editorSectionSecurityTitle=Security
-editorSectionSecurityDescription=Specify the security settings.
-username=User ID:
-password=Password:
-
-editorSectionPortsTitle=Port Configuration
-editorSectionPortsDescription=Specify the ports for this server instance.
-httpPort=HTTP Port:
-rmiPort=RMI Naming Port:
-
-editorSectionLogLevelTitle=Console Output
-editorSectionLogLevelDescription=Select the server console output log level.
-info=INFO
-debug=DEBUG
-
-editorConfigId=Config Id:
-editorParentId=Parent Id:
-editorContextRoot=Context Root:
-securityRealmName=Security realm name:
-editorClassloader=Search order used by the classloader to locate classes:
-editorClassloaderServer=Search the Geronimo server environment first (recomended)
-editorClassloaderWebApp=Search the web app first
-
-editorResourceRefTitle=Resource References
-editorResourceRefDescription=The following resource references are defined:
-editorResRefTargetNameTitle=Target Name
-editorResRefLinkTitle=Resource Link
-editorResRefNameTitle=Reference Name
-
-editorResourceEnvRefTitle=Resource Environment References
-editorResourceEnvRefDescription=The following resource environment references are defined:
-editorResEnvRefNameTitle=Reference Name
-editorResEnvRefMsgDestTitle=Message destination
-
-editorGBeanRefTitle=GBean References
-editorGBeanRefDescription=The following gbean references are defined:
-editorGBeanRefName=Name
-editorGBeanRefType=Type
-editorGBeanRefTargetName=Target
-editorGBeanRefProxyType=Proxy Type
-
-editorServiceRefDescription=The following service references are defined:
-editorServiceRefTitle=Service Refs
-editorServiceRefName=Name
-
-editorEjbRefDescription = The following ejb references are defined:
-editorEjbRefTitle = EJB References
-editorEjbRefTargetName=Target Name
-editorEjbRefEjbLink=EJB Link
-
-editorEjbLocalRefDescription=The following ejb local refererencs are defined:
-editorEjbLocalRefTitle=EJB Local References
-
-add=Add
-remove=Remove
-edit=Edit
-
-wizardNewTitle_ResRef=New Resource Reference
-wizardEditTitle_ResRef=Edit Resource Reference
-wizardPageTitle_ResRef=Resource Reference Details
-wizardPageDescription_ResRef=Provide details for this resource reference.
-
-wizardNewTitle_ResEnvRef=New Resource Enviornment Reference
-wizardEditTitle_ResEnvRef=Edit Resource Enviornment Reference
-wizardPageTitle_ResEnvRef=Resource Enviornment Reference Details
-wizardPageDescription_ResEnvRef=Provide details for this resource enviornment reference.
-
-wizardNewTitle_EjbRef=New EJB Reference
-wizardEditTitle_EjbRef=Edit EJB Reference
-wizardPageTitle_EjbRef=EJB Reference Details
-wizardPageDescription_EjbRef=Provide details for this ejb reference.
-
-wizardNewTitle_ServiceRef=New Service Reference
-wizardEditTitle_ServiceRef=Edit Service Reference
-wizardPageTitle_ServiceRef=Service Reference Details
-wizardPageDescription_ServiceRef=Provide details for this service reference
-
-wizardNewTitle_EjbLocalRef=New EJB Local Reference
-wizardEditTitle_EjbLocalRef=Edit EJB Local Reference
-wizardPageTitle_EjbLocalRef=EJB Reference Local Details
-wizardPageDescription_EjbLocalRef=Provide details for this ejb local reference.
-
-wizardNewTitle_GBeanRef=New GBean Reference
-wizardEditTitle_GBeanRef=Edit GBean Reference
-wizardPageTitle_GBeanRef=GBean Reference Details
-wizardPageDescription_GBeanRef=Provide details for this gbean reference.
-
-wizardNewTitle_SecurityRole=New Security Role
-wizardEditTitle_SecurityRole=Edit Security Role
-wizardPageTitle_SecurityRole=Security Role Details
-wizardPageDescription_SecurityRole=Provide details for this security role.
-
-wizardNewTitle_Dependency=New Dependency
-wizardEditTitle_Dependency=Edit Dependency
-wizardPageTitle_Dependency=Dependency Details
-wizardPageDescription_Dependency=Provide details for this dependency.
-
-wizardNewTitle_Import=New Import
-wizardEditTitle_Import=Edit Import
-wizardPageTitle_Import=Import Details
-wizardPageDescription_Import=Provide details for this dependency.
-
-wizardNewTitle_GBean=New GBean
-wizardEditTitle_GBean=Edit Gbean
-wizardPageTitle_GBean=Gbean Details
-wizardPageDescription_GBean=Provide details for this gbean.
-
-doasCurrentCaller=Do as current caller
-useContextHandler=Use context handler
-defaultRole=Default Role:
-
-dependencyGroupLabel=Dependency type and location
-serverRepos=Specify dependency by path
-uri=URI:
-mavenArtifact=Specify Maven-style dependency
-groupId=Group Id:
-artifactId=Artifact Id:
-version=Version:
-
-editorTabGeneral=General
-editorTabNaming=Naming
-editorTabSecurity=Security
-editorTabDeployment=Deployment
-editorTabSource=Source
-
-name=Name
-description=Description
-
-console=Geronimo Console
-consoleTooltip=Apache Geronimo Console
-
-serverWizardDescription=Specify the location of an existing 1.0 Geronimo installation. If none exists, specify an install location and press 'Download and Install'.
-browse=Browse
-installDir=Application Server Installation Directory:
-downloadOptions=Download Options
-chooseWebContainer=Select a web container:
-gWithTomcat=Geronimo with Tomcat
-gWithJetty=Geronimo with Jetty
-install=Download and Install
-jvmWarning=Geronimo is currently only certified on a 1.4 JVM. Use of any other version is not currently supported.
-installTitle=Install Confirmation
-installMessage=Install Apache Geronimo to {0} ?
-tooltipLoc=A location of an existing Geronimo installation or a path to install to.
-tooltipInstall=Downloads the selected Geronimo distribution and installs it to the specified location.
-tooltipJetty=Selects the Jetty distribution of Geronimo to install.
+appGeneralPageTitle=Application Plan General Configuration
+connectorOverViewPageTitle=Connector Plan General Configuration
+deploymentPageTitle=Deployment Configuration
+namingFormPageTitle=Defined References
+securityPageTitle=Security Configuration
+webGeneralPageTitle=Web Deployment Plan General Configuration
+
+errorCouldNotOpenFile=Could not open file
+
+editorTitle=Geronimo Deployment Plan Editor
+editorSectionGeneralTitle=General
+editorSectionGeneralDescription=Edit the common deployment settings.
+
+editorSectionSecurityRolesTitle=Security Roles
+editorSectionSecurityRolesDescription=The following security roles are defined:
+
+editorSectionDependenciesTitle=Dependencies
+editorSectionDependenciesDescription=The following dependencies are defined as common libraries.
+
+editorSectionImportTitle=Imports
+editorSectionImportDescription=The following configurations are imported into this plan.
+
+editorSectionGBeanTitle=GBeans
+editorSectionGBeanDescription=The following gbeans are defined in this plan.
+className=Class
+GbeanName=Gbean Name
+
+editorSectionSecurityTitle=Security
+editorSectionSecurityDescription=Specify the security settings.
+username=User ID:
+password=Password:
+
+editorSectionPortsTitle=Port Configuration
+editorSectionPortsDescription=Specify the ports for this server instance.
+httpPort=HTTP Port:
+rmiPort=RMI Naming Port:
+
+editorSectionLogLevelTitle=Console Output
+editorSectionLogLevelDescription=Select the server console output log level.
+info=INFO
+debug=DEBUG
+
+editorConfigId=Config Id:
+editorParentId=Parent Id:
+editorContextRoot=Context Root:
+securityRealmName=Security realm name:
+editorClassloader=Search order used by the classloader to locate classes:
+editorClassloaderServer=Search the Geronimo server environment first (recomended)
+editorClassloaderWebApp=Search the web app first
+
+editorResourceRefTitle=Resource References
+editorResourceRefDescription=The following resource references are defined:
+editorResRefTargetNameTitle=Target Name
+editorResRefLinkTitle=Resource Link
+editorResRefNameTitle=Reference Name
+
+editorResourceEnvRefTitle=Resource Environment References
+editorResourceEnvRefDescription=The following resource environment references are defined:
+editorResEnvRefNameTitle=Reference Name
+editorResEnvRefMsgDestTitle=Message destination
+
+editorGBeanRefTitle=GBean References
+editorGBeanRefDescription=The following gbean references are defined:
+editorGBeanRefName=Name
+editorGBeanRefType=Type
+editorGBeanRefTargetName=Target
+editorGBeanRefProxyType=Proxy Type
+
+editorServiceRefDescription=The following service references are defined:
+editorServiceRefTitle=Service Refs
+editorServiceRefName=Name
+
+editorEjbRefDescription = The following ejb references are defined:
+editorEjbRefTitle = EJB References
+editorEjbRefTargetName=Target Name
+editorEjbRefEjbLink=EJB Link
+
+editorEjbLocalRefDescription=The following ejb local refererencs are defined:
+editorEjbLocalRefTitle=EJB Local References
+
+add=Add
+remove=Remove
+edit=Edit
+
+wizardNewTitle_ResRef=New Resource Reference
+wizardEditTitle_ResRef=Edit Resource Reference
+wizardPageTitle_ResRef=Resource Reference Details
+wizardPageDescription_ResRef=Provide details for this resource reference.
+
+wizardNewTitle_ResEnvRef=New Resource Enviornment Reference
+wizardEditTitle_ResEnvRef=Edit Resource Enviornment Reference
+wizardPageTitle_ResEnvRef=Resource Enviornment Reference Details
+wizardPageDescription_ResEnvRef=Provide details for this resource enviornment reference.
+
+wizardNewTitle_EjbRef=New EJB Reference
+wizardEditTitle_EjbRef=Edit EJB Reference
+wizardPageTitle_EjbRef=EJB Reference Details
+wizardPageDescription_EjbRef=Provide details for this ejb reference.
+
+wizardNewTitle_ServiceRef=New Service Reference
+wizardEditTitle_ServiceRef=Edit Service Reference
+wizardPageTitle_ServiceRef=Service Reference Details
+wizardPageDescription_ServiceRef=Provide details for this service reference
+
+wizardNewTitle_EjbLocalRef=New EJB Local Reference
+wizardEditTitle_EjbLocalRef=Edit EJB Local Reference
+wizardPageTitle_EjbLocalRef=EJB Reference Local Details
+wizardPageDescription_EjbLocalRef=Provide details for this ejb local reference.
+
+wizardNewTitle_GBeanRef=New GBean Reference
+wizardEditTitle_GBeanRef=Edit GBean Reference
+wizardPageTitle_GBeanRef=GBean Reference Details
+wizardPageDescription_GBeanRef=Provide details for this gbean reference.
+
+wizardNewTitle_SecurityRole=New Security Role
+wizardEditTitle_SecurityRole=Edit Security Role
+wizardPageTitle_SecurityRole=Security Role Details
+wizardPageDescription_SecurityRole=Provide details for this security role.
+
+wizardNewTitle_Dependency=New Dependency
+wizardEditTitle_Dependency=Edit Dependency
+wizardPageTitle_Dependency=Dependency Details
+wizardPageDescription_Dependency=Provide details for this dependency.
+
+wizardNewTitle_Import=New Import
+wizardEditTitle_Import=Edit Import
+wizardPageTitle_Import=Import Details
+wizardPageDescription_Import=Provide details for this dependency.
+
+wizardNewTitle_GBean=New GBean
+wizardEditTitle_GBean=Edit Gbean
+wizardPageTitle_GBean=Gbean Details
+wizardPageDescription_GBean=Provide details for this gbean.
+
+doasCurrentCaller=Do as current caller
+useContextHandler=Use context handler
+defaultRole=Default Role:
+
+dependencyGroupLabel=Dependency type and location
+serverRepos=Specify dependency by path
+uri=URI:
+mavenArtifact=Specify Maven-style dependency
+groupId=Group Id:
+artifactId=Artifact Id:
+version=Version:
+
+editorTabGeneral=General
+editorTabNaming=Naming
+editorTabSecurity=Security
+editorTabDeployment=Deployment
+editorTabSource=Source
+
+name=Name
+description=Description
+
+console=Geronimo Console
+consoleTooltip=Apache Geronimo Console
+
+serverWizardDescription=Specify the location of an existing 1.0 Geronimo installation. If none exists, specify an install location and press 'Download and Install'.
+browse=Browse
+installDir=Application Server Installation Directory:
+downloadOptions=Download Options
+chooseWebContainer=Select a web container:
+gWithTomcat=Geronimo with Tomcat
+gWithJetty=Geronimo with Jetty
+install=Download and Install
+jvmWarning=Geronimo is currently only certified on a 1.4 JVM. Use of any other version is not currently supported.
+installTitle=Install Confirmation
+installMessage=Install Apache Geronimo to {0} ?
+tooltipLoc=A location of an existing Geronimo installation or a path to install to.
+tooltipInstall=Downloads the selected Geronimo distribution and installs it to the specified location.
+tooltipJetty=Selects the Jetty distribution of Geronimo to install.
tooltipTomcat=Selects the Tomcat distribution of Geronimo to install.
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Trace.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Trace.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Trace.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Trace.java Fri Mar 3 17:30:38 2006
@@ -1,84 +1,84 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.ui.internal;
-
-/**
- * Helper class to route trace output.
- */
-public class Trace {
- /**
- * Config trace event.
- */
- public static byte CONFIG = 0;
-
- /**
- * Warning trace event.
- */
- public static byte WARNING = 1;
-
- /**
- * Severe trace event.
- */
- public static byte SEVERE = 2;
-
- /**
- * Finest trace event.
- */
- public static byte FINEST = 3;
-
- /**
- * Parsing trace event.
- */
- public static byte PARSING = 4;
-
- /**
- * Trace constructor comment.
- */
- private Trace() {
- super();
- }
-
- /**
- * Trace the given text.
- *
- * @param level
- * the trace level
- * @param s
- * a message
- */
- public static void trace(byte level, String s) {
- trace(level, s, null);
- }
-
- /**
- * Trace the given message and exception.
- *
- * @param level
- * the trace level
- * @param s
- * a message
- * @param t
- * a throwable
- */
- public static void trace(byte level, String s, Throwable t) {
- if (!GeronimoUIPlugin.getInstance().isDebugging())
- return;
-
- System.out.println(GeronimoUIPlugin.PLUGIN_ID + " " + s);
- if (t != null)
- t.printStackTrace();
- }
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.ui.internal;
+
+/**
+ * Helper class to route trace output.
+ */
+public class Trace {
+ /**
+ * Config trace event.
+ */
+ public static byte CONFIG = 0;
+
+ /**
+ * Warning trace event.
+ */
+ public static byte WARNING = 1;
+
+ /**
+ * Severe trace event.
+ */
+ public static byte SEVERE = 2;
+
+ /**
+ * Finest trace event.
+ */
+ public static byte FINEST = 3;
+
+ /**
+ * Parsing trace event.
+ */
+ public static byte PARSING = 4;
+
+ /**
+ * Trace constructor comment.
+ */
+ private Trace() {
+ super();
+ }
+
+ /**
+ * Trace the given text.
+ *
+ * @param level
+ * the trace level
+ * @param s
+ * a message
+ */
+ public static void trace(byte level, String s) {
+ trace(level, s, null);
+ }
+
+ /**
+ * Trace the given message and exception.
+ *
+ * @param level
+ * the trace level
+ * @param s
+ * a message
+ * @param t
+ * a throwable
+ */
+ public static void trace(byte level, String s, Throwable t) {
+ if (!GeronimoUIPlugin.getInstance().isDebugging())
+ return;
+
+ System.out.println(GeronimoUIPlugin.PLUGIN_ID + " " + s);
+ if (t != null)
+ t.printStackTrace();
+ }
}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Trace.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Trace.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Trace.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AbstractGeronimoFormPage.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AbstractGeronimoFormPage.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AbstractGeronimoFormPage.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AbstractGeronimoFormPage.java Fri Mar 3 17:30:38 2006
@@ -1,99 +1,99 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.ui.pages;
-
-import org.apache.geronimo.ui.editors.AbstractGeronimoDeploymentPlanEditor;
-import org.apache.geronimo.ui.sections.BannerPart;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.forms.IManagedForm;
-import org.eclipse.ui.forms.editor.FormEditor;
-import org.eclipse.ui.forms.editor.FormPage;
-import org.eclipse.ui.forms.widgets.ExpandableComposite;
-import org.eclipse.ui.forms.widgets.FormToolkit;
-import org.eclipse.ui.forms.widgets.ScrolledForm;
-import org.eclipse.ui.forms.widgets.Section;
-
-public abstract class AbstractGeronimoFormPage extends FormPage {
-
- EObject deploymentPlan;
-
- FormToolkit toolkit;
-
- Composite body;
-
- /**
- * @param editor
- * @param id
- * @param title
- */
- public AbstractGeronimoFormPage(FormEditor editor, String id, String title) {
- super(editor, id, title);
- }
-
- /**
- * @param id
- * @param title
- */
- public AbstractGeronimoFormPage(String id, String title) {
- super(id, title);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.forms.editor.FormPage#createFormContent(org.eclipse.ui.forms.IManagedForm)
- */
- protected void createFormContent(IManagedForm managedForm) {
- deploymentPlan = ((AbstractGeronimoDeploymentPlanEditor) getEditor())
- .getDeploymentPlan();
- body = managedForm.getForm().getBody();
- toolkit = managedForm.getToolkit();
- ScrolledForm form = managedForm.getForm();
- form.setText(getFormTitle());
- //managedForm.addPart(new BannerPart(form.getBody(), toolkit, SWT.NONE));
- form.getBody().setLayout(getLayout());
- fillBody(managedForm);
- form.reflow(true);
- }
-
- protected GridLayout getLayout() {
- GridLayout layout = new GridLayout();
- layout.numColumns = 2;
- layout.horizontalSpacing = 20;
- layout.makeColumnsEqualWidth = true;
- return layout;
- }
-
- protected int getStyle() {
- return ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED
- | ExpandableComposite.TITLE_BAR | Section.DESCRIPTION
- | ExpandableComposite.FOCUS_TITLE;
- }
-
- abstract protected void fillBody(IManagedForm managedForm);
-
- public EObject getDeploymentPlan() {
- return deploymentPlan;
- }
-
- public String getFormTitle() {
- return getTitle();
- }
-
-}
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.ui.pages;
+
+import org.apache.geronimo.ui.editors.AbstractGeronimoDeploymentPlanEditor;
+import org.apache.geronimo.ui.sections.BannerPart;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.forms.IManagedForm;
+import org.eclipse.ui.forms.editor.FormEditor;
+import org.eclipse.ui.forms.editor.FormPage;
+import org.eclipse.ui.forms.widgets.ExpandableComposite;
+import org.eclipse.ui.forms.widgets.FormToolkit;
+import org.eclipse.ui.forms.widgets.ScrolledForm;
+import org.eclipse.ui.forms.widgets.Section;
+
+public abstract class AbstractGeronimoFormPage extends FormPage {
+
+ EObject deploymentPlan;
+
+ FormToolkit toolkit;
+
+ Composite body;
+
+ /**
+ * @param editor
+ * @param id
+ * @param title
+ */
+ public AbstractGeronimoFormPage(FormEditor editor, String id, String title) {
+ super(editor, id, title);
+ }
+
+ /**
+ * @param id
+ * @param title
+ */
+ public AbstractGeronimoFormPage(String id, String title) {
+ super(id, title);
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.ui.forms.editor.FormPage#createFormContent(org.eclipse.ui.forms.IManagedForm)
+ */
+ protected void createFormContent(IManagedForm managedForm) {
+ deploymentPlan = ((AbstractGeronimoDeploymentPlanEditor) getEditor())
+ .getDeploymentPlan();
+ body = managedForm.getForm().getBody();
+ toolkit = managedForm.getToolkit();
+ ScrolledForm form = managedForm.getForm();
+ form.setText(getFormTitle());
+ //managedForm.addPart(new BannerPart(form.getBody(), toolkit, SWT.NONE));
+ form.getBody().setLayout(getLayout());
+ fillBody(managedForm);
+ form.reflow(true);
+ }
+
+ protected GridLayout getLayout() {
+ GridLayout layout = new GridLayout();
+ layout.numColumns = 2;
+ layout.horizontalSpacing = 20;
+ layout.makeColumnsEqualWidth = true;
+ return layout;
+ }
+
+ protected int getStyle() {
+ return ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED
+ | ExpandableComposite.TITLE_BAR | Section.DESCRIPTION
+ | ExpandableComposite.FOCUS_TITLE;
+ }
+
+ abstract protected void fillBody(IManagedForm managedForm);
+
+ public EObject getDeploymentPlan() {
+ return deploymentPlan;
+ }
+
+ public String getFormTitle() {
+ return getTitle();
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AbstractGeronimoFormPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AbstractGeronimoFormPage.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AbstractGeronimoFormPage.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AppGeneralPage.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AppGeneralPage.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AppGeneralPage.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AppGeneralPage.java Fri Mar 3 17:30:38 2006
@@ -1,59 +1,59 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.ui.pages;
-
-import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.sections.AppGeneralSection;
-import org.eclipse.ui.forms.IManagedForm;
-import org.eclipse.ui.forms.editor.FormEditor;
-
-public class AppGeneralPage extends AbstractGeronimoFormPage {
-
- /**
- * @param editor
- * @param id
- * @param title
- */
- public AppGeneralPage(FormEditor editor, String id, String title) {
- super(editor, id, title);
- }
-
- /**
- * @param id
- * @param title
- */
- public AppGeneralPage(String id, String title) {
- super(id, title);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.apache.geronimo.ui.pages.AbstractGeronimoFormPage#fillBody(org.eclipse.ui.forms.IManagedForm)
- */
- protected void fillBody(IManagedForm managedForm) {
- managedForm.addPart(new AppGeneralSection(body, toolkit, getStyle(),
- getDeploymentPlan()));
- }
-
- /* (non-Javadoc)
- * @see org.apache.geronimo.ui.pages.AbstractGeronimoFormPage#getFormTitle()
- */
- public String getFormTitle() {
- return Messages.appGeneralPageTitle;
- }
-
-}
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.ui.pages;
+
+import org.apache.geronimo.ui.internal.Messages;
+import org.apache.geronimo.ui.sections.AppGeneralSection;
+import org.eclipse.ui.forms.IManagedForm;
+import org.eclipse.ui.forms.editor.FormEditor;
+
+public class AppGeneralPage extends AbstractGeronimoFormPage {
+
+ /**
+ * @param editor
+ * @param id
+ * @param title
+ */
+ public AppGeneralPage(FormEditor editor, String id, String title) {
+ super(editor, id, title);
+ }
+
+ /**
+ * @param id
+ * @param title
+ */
+ public AppGeneralPage(String id, String title) {
+ super(id, title);
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.apache.geronimo.ui.pages.AbstractGeronimoFormPage#fillBody(org.eclipse.ui.forms.IManagedForm)
+ */
+ protected void fillBody(IManagedForm managedForm) {
+ managedForm.addPart(new AppGeneralSection(body, toolkit, getStyle(),
+ getDeploymentPlan()));
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.geronimo.ui.pages.AbstractGeronimoFormPage#getFormTitle()
+ */
+ public String getFormTitle() {
+ return Messages.appGeneralPageTitle;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AppGeneralPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AppGeneralPage.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/AppGeneralPage.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/ConnectorOverviewPage.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/ConnectorOverviewPage.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/ConnectorOverviewPage.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/ConnectorOverviewPage.java Fri Mar 3 17:30:38 2006
@@ -1,59 +1,59 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.geronimo.ui.pages;
-
-import org.apache.geronimo.ui.internal.Messages;
-import org.apache.geronimo.ui.sections.ConnectorGeneralSection;
-import org.eclipse.ui.forms.IManagedForm;
-import org.eclipse.ui.forms.editor.FormEditor;
-
-public class ConnectorOverviewPage extends AbstractGeronimoFormPage {
-
- /**
- * @param editor
- * @param id
- * @param title
- */
- public ConnectorOverviewPage(FormEditor editor, String id, String title) {
- super(editor, id, title);
- }
-
- /**
- * @param id
- * @param title
- */
- public ConnectorOverviewPage(String id, String title) {
- super(id, title);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.apache.geronimo.ui.pages.AbstractGeronimoFormPage#fillBody(org.eclipse.ui.forms.IManagedForm)
- */
- protected void fillBody(IManagedForm managedForm) {
- managedForm.addPart(new ConnectorGeneralSection(body, toolkit,
- getStyle(), getDeploymentPlan()));
- }
-
- /* (non-Javadoc)
- * @see org.apache.geronimo.ui.pages.AbstractGeronimoFormPage#getFormTitle()
- */
- public String getFormTitle() {
- return Messages.connectorOverViewPageTitle;
- }
-
-}
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.ui.pages;
+
+import org.apache.geronimo.ui.internal.Messages;
+import org.apache.geronimo.ui.sections.ConnectorGeneralSection;
+import org.eclipse.ui.forms.IManagedForm;
+import org.eclipse.ui.forms.editor.FormEditor;
+
+public class ConnectorOverviewPage extends AbstractGeronimoFormPage {
+
+ /**
+ * @param editor
+ * @param id
+ * @param title
+ */
+ public ConnectorOverviewPage(FormEditor editor, String id, String title) {
+ super(editor, id, title);
+ }
+
+ /**
+ * @param id
+ * @param title
+ */
+ public ConnectorOverviewPage(String id, String title) {
+ super(id, title);
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.apache.geronimo.ui.pages.AbstractGeronimoFormPage#fillBody(org.eclipse.ui.forms.IManagedForm)
+ */
+ protected void fillBody(IManagedForm managedForm) {
+ managedForm.addPart(new ConnectorGeneralSection(body, toolkit,
+ getStyle(), getDeploymentPlan()));
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.geronimo.ui.pages.AbstractGeronimoFormPage#getFormTitle()
+ */
+ public String getFormTitle() {
+ return Messages.connectorOverViewPageTitle;
+ }
+
+}
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/ConnectorOverviewPage.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/ConnectorOverviewPage.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/pages/ConnectorOverviewPage.java
------------------------------------------------------------------------------
svn:mime-type = text/plain