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 2005/11/02 18:20:26 UTC
svn commit: r330288 - in
/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui:
sections/ImportSection.java wizards/ImportWizard.java
Author: sppatel
Date: Wed Nov 2 09:20:22 2005
New Revision: 330288
URL: http://svn.apache.org/viewcvs?rev=330288&view=rev
Log:
woops readded deleted files
Added:
geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ImportSection.java
geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ImportWizard.java
Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ImportSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ImportSection.java?rev=330288&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ImportSection.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ImportSection.java Wed Nov 2 09:20:22 2005
@@ -0,0 +1,54 @@
+/**
+ * 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.sections;
+
+import org.apache.geronimo.ui.internal.Messages;
+import org.apache.geronimo.ui.wizards.ImportWizard;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.jface.wizard.Wizard;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.forms.widgets.FormToolkit;
+
+public class ImportSection extends DependencySection {
+
+ public ImportSection(EObject plan, EReference dependenciesERef,
+ Composite parent, FormToolkit toolkit, int style) {
+ super(plan, dependenciesERef, parent, toolkit, style);
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.geronimo.ui.sections.DynamicTableSection#getTitle()
+ */
+ public String getTitle() {
+ return Messages.editorSectionImportTitle;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.geronimo.ui.sections.DynamicTableSection#getDescription()
+ */
+ public String getDescription() {
+ return Messages.editorSectionImportDescription;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.geronimo.ui.sections.DynamicTableSection#getWizard()
+ */
+ public Wizard getWizard() {
+ return new ImportWizard(this);
+ }
+
+}
Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ImportWizard.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ImportWizard.java?rev=330288&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ImportWizard.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/ImportWizard.java Wed Nov 2 09:20:22 2005
@@ -0,0 +1,58 @@
+/**
+ * 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.wizards;
+
+import org.apache.geronimo.ui.internal.Messages;
+import org.apache.geronimo.ui.sections.DynamicTableSection;
+
+public class ImportWizard extends DependencyWizard {
+
+ /**
+ * @param section
+ */
+ public ImportWizard(DynamicTableSection section) {
+ super(section);
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getAddWizardWindowTitle()
+ */
+ public String getAddWizardWindowTitle() {
+ return Messages.wizardNewTitle_Import;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getEditWizardWindowTitle()
+ */
+ public String getEditWizardWindowTitle() {
+ return Messages.wizardEditTitle_Import;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageTitle()
+ */
+ public String getWizardFirstPageTitle() {
+ return Messages.wizardPageTitle_Import;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.geronimo.ui.wizards.DynamicAddEditWizard#getWizardFirstPageDescription()
+ */
+ public String getWizardFirstPageDescription() {
+ return Messages.wizardPageDescription_Import;
+ }
+
+}