Author: rob.stryker(a)jboss.com
Date: 2011-07-01 08:29:38 -0400 (Fri, 01 Jul 2011)
New Revision: 32526
Removed:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/perspective/
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test/ASPerspectiveTest.java
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/META-INF/MANIFEST.MF
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AsUiAllTests.java
Log:
Removal of AS Perspective
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/META-INF/MANIFEST.MF 2011-07-01 09:27:19
UTC (rev 32525)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/META-INF/MANIFEST.MF 2011-07-01 12:29:38
UTC (rev 32526)
@@ -57,7 +57,6 @@
org.jboss.ide.eclipse.as.ui.dialogs,
org.jboss.ide.eclipse.as.ui.editor,
org.jboss.ide.eclipse.as.ui.launch,
- org.jboss.ide.eclipse.as.ui.perspective,
org.jboss.ide.eclipse.as.ui.views,
org.jboss.ide.eclipse.as.ui.views.server.extensions,
org.jboss.ide.eclipse.as.ui.wizards,
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml 2011-07-01 09:27:19 UTC (rev
32525)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml 2011-07-01 12:29:38 UTC (rev
32526)
@@ -115,17 +115,6 @@
markerType="org.eclipse.wst.common.project.facet.core.validation.marker"/>
</extension>
-<!-- Delete this for 3.3.1, and delete the class and plugin.properties name
- <extension
- point="org.eclipse.ui.perspectives">
- <perspective
- class="org.jboss.ide.eclipse.as.ui.perspective.ASPerspective"
- icon="$nl$/icons/jboss.gif"
- id="org.jboss.ide.eclipse.as.ui.ASPerspective"
- name="%perspective.name"/>
- </extension>
-
- -->
<extension
point="org.eclipse.wst.server.ui.initialSelectionProvider">
<selectionProvider
Deleted:
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test/ASPerspectiveTest.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test/ASPerspectiveTest.java 2011-07-01
09:27:19 UTC (rev 32525)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/perspective/test/ASPerspectiveTest.java 2011-07-01
12:29:38 UTC (rev 32526)
@@ -1,32 +0,0 @@
-package org.jboss.ide.eclipse.as.ui.perspective.test;
-
-import junit.framework.TestCase;
-
-import org.eclipse.ui.IPerspectiveDescriptor;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.PlatformUI;
-import org.jboss.ide.eclipse.as.ui.perspective.ASPerspective;
-import org.jboss.ide.eclipse.as.ui.views.ServerLogView;
-
-@Deprecated
-public class ASPerspectiveTest extends TestCase {
-
- @Override
- protected void setUp() throws Exception {
- PlatformUI.getWorkbench()
- .getActiveWorkbenchWindow().getActivePage().setPerspective(
- PlatformUI.getWorkbench().getPerspectiveRegistry().findPerspectiveWithId(ASPerspective.ID));
- }
-
- public void testASPerspective() {
- IPerspectiveDescriptor perspective = PlatformUI.getWorkbench()
- .getActiveWorkbenchWindow().getActivePage().getPerspective();
- assertEquals(perspective.getLabel(),"JBoss AS");
- }
-
- public void testServerLogView() throws PartInitException {
- PlatformUI.getWorkbench().getActiveWorkbenchWindow()
- .getActivePage().showView(ServerLogView.VIEW_ID);
- }
-
-}
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AsUiAllTests.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AsUiAllTests.java 2011-07-01
09:27:19 UTC (rev 32525)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.ui.test/src/org/jboss/ide/eclipse/as/ui/test/AsUiAllTests.java 2011-07-01
12:29:38 UTC (rev 32526)
@@ -10,7 +10,6 @@
public static Test suite() {
TestSuite suite = new TestSuite(AsUiAllTests.class.getName());
suite.addTestSuite(NewServerWizardTest.class);
-// suite.addTestSuite(ASPerspectiveTest.class);
return suite;
}
Show replies by date