Author: snjeza
Date: 2012-02-10 16:52:27 -0500 (Fri, 10 Feb 2012)
New Revision: 38623
Removed:
trunk/central/plugins/org.jboss.tools.central/schema/tutorials.exsd
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/JBossSeamRuntimePreferencesHandler.java
Modified:
trunk/central/plugins/org.jboss.tools.central/plugin.xml
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/DefaultJBossCentralConfigurator.java
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java
trunk/central/plugins/org.jboss.tools.central/template/DefaultJBossCentralConfigurator.java
Log:
JBIDE-10873 Removing org.jboss.tool.central.tutorials extension point
Modified: trunk/central/plugins/org.jboss.tools.central/plugin.xml
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/plugin.xml 2012-02-10 21:52:14 UTC (rev
38622)
+++ trunk/central/plugins/org.jboss.tools.central/plugin.xml 2012-02-10 21:52:27 UTC (rev
38623)
@@ -2,7 +2,6 @@
<?eclipse version="3.4"?>
<plugin>
- <extension-point id="tutorials" name="%Tutorials"
schema="schema/tutorials.exsd"/>
<extension-point id="configurators" name="JBoss Central
Configurator" schema="schema/configurators.exsd"/>
<extension
@@ -31,19 +30,6 @@
name="JBoss Central"/>
</extension>
- <!--
- <extension
- point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="menu:help?before=group.intro">
- <command
- commandId="org.jboss.tools.central.show"
- icon="icons/jboss.png"
- id="org.jboss.tools.central.show">
- </command>
- </menuContribution>
- </extension>
- -->
<extension point="org.eclipse.ui.actionSets">
<actionSet
id="org.jboss.tools.central"
@@ -137,13 +123,6 @@
</command>
<command
-
defaultHandler="org.jboss.tools.central.actions.JBossSeamRuntimePreferencesHandler"
- name="JBoss Seam Runtime Preferences"
- id="org.jboss.tools.seam.runtime.preferences">
- </command>
-
-
- <command
defaultHandler="org.jboss.tools.central.actions.WTPRuntimePreferencesHandler"
name="WTP Runtime Preferences"
id="org.jboss.tools.wtp.runtime.preferences">
@@ -213,11 +192,6 @@
</image>
<image
- commandId="org.jboss.tools.seam.runtime.preferences"
- icon="icons/seam16.png">
- </image>
-
- <image
commandId="org.jboss.tools.central.newProjectExamplesWizard"
icon="icons/examples_wiz.gif">
</image>
Deleted: trunk/central/plugins/org.jboss.tools.central/schema/tutorials.exsd
===================================================================
--- trunk/central/plugins/org.jboss.tools.central/schema/tutorials.exsd 2012-02-10
21:52:14 UTC (rev 38622)
+++ trunk/central/plugins/org.jboss.tools.central/schema/tutorials.exsd 2012-02-10
21:52:27 UTC (rev 38623)
@@ -1,195 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.jboss.tools.central"
xmlns="http://www.w3.org/2001/XMLSchema">
-<annotation>
- <appinfo>
- <meta.schema plugin="org.jboss.tools.central"
id="tutorials" name="Tutorials"/>
- </appinfo>
- <documentation>
- [Enter description of this extension point.]
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <appinfo>
- <meta.element />
- </appinfo>
- </annotation>
- <complexType>
- <sequence>
- <element ref="category" minOccurs="1"
maxOccurs="unbounded"/>
- <element ref="tutorial" minOccurs="1"
maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string"
use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appinfo>
- <meta.attribute translatable="true"/>
- </appinfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="tutorial">
- <complexType>
- <attribute name="categoryId" type="string"
use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string"
use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string"
use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="type" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- <simpleType>
- <restriction base="string">
- <enumeration value="projectExample">
- </enumeration>
- <enumeration value="cheatsheet">
- </enumeration>
- <enumeration value="html">
- </enumeration>
- </restriction>
- </simpleType>
- </attribute>
- <attribute name="reference" type="string"
use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="priority" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="icon" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appinfo>
- <meta.attribute kind="resource"/>
- </appinfo>
- </annotation>
- </attribute>
- <attribute name="description" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="category">
- <complexType>
- <attribute name="id" type="string"
use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string"
use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="priority" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="description" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appinfo>
- <meta.section type="since"/>
- </appinfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
- <meta.section type="examples"/>
- </appinfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
- <meta.section type="apiinfo"/>
- </appinfo>
- <documentation>
- [Enter API information here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
- <meta.section type="implementation"/>
- </appinfo>
- <documentation>
- [Enter information about supplied implementation of this extension point.]
- </documentation>
- </annotation>
-
-
-</schema>
Deleted:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/JBossSeamRuntimePreferencesHandler.java
===================================================================
---
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/JBossSeamRuntimePreferencesHandler.java 2012-02-10
21:52:14 UTC (rev 38622)
+++
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/JBossSeamRuntimePreferencesHandler.java 2012-02-10
21:52:27 UTC (rev 38623)
@@ -1,24 +0,0 @@
-/*************************************************************************************
- * Copyright (c) 2008-2011 Red Hat, Inc. and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- *
http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * JBoss by Red Hat - Initial implementation.
- ************************************************************************************/
-package org.jboss.tools.central.actions;
-
-
-/**
-* @author snjeza
-*
-*/
-public class JBossSeamRuntimePreferencesHandler extends AbstractPreferencesHandler {
-
- @Override
- public String getPreferenceId() {
- return "org.jboss.tools.common.model.ui.seam";
- }
-}
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/DefaultJBossCentralConfigurator.java
===================================================================
---
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/DefaultJBossCentralConfigurator.java 2012-02-10
21:52:14 UTC (rev 38622)
+++
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/configurators/DefaultJBossCentralConfigurator.java 2012-02-10
21:52:27 UTC (rev 38623)
@@ -74,11 +74,7 @@
@Override
public List<String> getWizardIds() {
List<String> wizardIds = new ArrayList<String>();
-
//wizardIDs.add("org.jboss.ide.eclipse.as.openshift.express.ui.wizard.NewServerAdapter");
wizardIds.add("org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard");
- //wizardIds.add("org.jboss.tools.seam.ui.wizards.SeamProjectWizard");
- //wizardIds.add("org.eclipse.m2e.core.wizards.Maven2ProjectWizard");
- //wizardIds.add(JBossCentralActivator.NEW_PROJECT_EXAMPLES_WIZARD_ID);
wizardIds.add("org.jboss.ide.eclipse.as.openshift.express.ui.wizard.createNewApplicationWizard");
return wizardIds;
}
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java
===================================================================
---
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java 2012-02-10
21:52:14 UTC (rev 38622)
+++
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java 2012-02-10
21:52:27 UTC (rev 38623)
@@ -493,9 +493,6 @@
item = JBossCentralActivator.createContributionItem(getSite(),
"org.jboss.tools.runtime.preferences");
toolBarManager.add(item);
- item = JBossCentralActivator.createContributionItem(getSite(),
"org.jboss.tools.seam.runtime.preferences");
- toolBarManager.add(item);
-
item = JBossCentralActivator.createContributionItem(getSite(),
"org.jboss.tools.wtp.runtime.preferences");
toolBarManager.add(item);
Modified:
trunk/central/plugins/org.jboss.tools.central/template/DefaultJBossCentralConfigurator.java
===================================================================
---
trunk/central/plugins/org.jboss.tools.central/template/DefaultJBossCentralConfigurator.java 2012-02-10
21:52:14 UTC (rev 38622)
+++
trunk/central/plugins/org.jboss.tools.central/template/DefaultJBossCentralConfigurator.java 2012-02-10
21:52:27 UTC (rev 38623)
@@ -74,11 +74,7 @@
@Override
public List<String> getWizardIds() {
List<String> wizardIds = new ArrayList<String>();
-
//wizardIDs.add("org.jboss.ide.eclipse.as.openshift.express.ui.wizard.NewServerAdapter");
wizardIds.add("org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard");
- //wizardIds.add("org.jboss.tools.seam.ui.wizards.SeamProjectWizard");
- //wizardIds.add("org.eclipse.m2e.core.wizards.Maven2ProjectWizard");
- //wizardIds.add(JBossCentralActivator.NEW_PROJECT_EXAMPLES_WIZARD_ID);
wizardIds.add("org.jboss.ide.eclipse.as.openshift.express.ui.wizard.createNewApplicationWizard");
return wizardIds;
}