JBoss Tools SVN: r42137 - trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/uiutils.
by jbosstools-commits@lists.jboss.org
Author: jpeterka
Date: 2012-06-21 05:04:16 -0400 (Thu, 21 Jun 2012)
New Revision: 42137
Added:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/uiutils/RESTFullExplorer.java
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/uiutils/RunOnServerDialog.java
Log:
Dummy classes added to avoid compilation problem, real classes to be added later
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/uiutils/RESTFullExplorer.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/uiutils/RESTFullExplorer.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/uiutils/RESTFullExplorer.java 2012-06-21 09:04:16 UTC (rev 42137)
@@ -0,0 +1,46 @@
+package org.jboss.tools.ws.ui.bot.test.uiutils;
+
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+
+public class RESTFullExplorer {
+
+ public RESTFullExplorer(String projectName) {
+ // TODO Auto-generated constructor stub
+ }
+
+ public Object getRestServiceName(SWTBotTreeItem restService) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public String getPathForRestFulService(SWTBotTreeItem restService) {
+ // TODO Auto-generated method stub
+ return "";
+ }
+
+ public Object getConsumesInfo(SWTBotTreeItem restService) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Object getProducesInfo(SWTBotTreeItem restService) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public SWTBotTreeItem[] getAllRestServices() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Object restService(String webService) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public RunOnServerDialog runOnServer(Object restService) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+}
Property changes on: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/uiutils/RESTFullExplorer.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/uiutils/RunOnServerDialog.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/uiutils/RunOnServerDialog.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/uiutils/RunOnServerDialog.java 2012-06-21 09:04:16 UTC (rev 42137)
@@ -0,0 +1,22 @@
+package org.jboss.tools.ws.ui.bot.test.uiutils;
+
+public class RunOnServerDialog {
+
+ public class Server1 {
+ public class Server2 {
+ public void finish() {
+ }
+ }
+
+ public Server2 selectServer(String str) {
+ return new Server2();
+
+ }
+
+ }
+
+ public Server1 chooseExistingServer() {
+ return new Server1();
+ }
+
+}
Property changes on: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/uiutils/RunOnServerDialog.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
13 years, 9 months
JBoss Tools SVN: r42136 - trunk/documentation/whatsnew.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2012-06-21 01:17:48 -0400 (Thu, 21 Jun 2012)
New Revision: 42136
Modified:
trunk/documentation/whatsnew/index.html
Log:
update NN with 3.3 final
Modified: trunk/documentation/whatsnew/index.html
===================================================================
--- trunk/documentation/whatsnew/index.html 2012-06-21 03:48:54 UTC (rev 42135)
+++ trunk/documentation/whatsnew/index.html 2012-06-21 05:17:48 UTC (rev 42136)
@@ -47,6 +47,16 @@
<hr>
</td>
</tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>3.3.0.Final</b>
+ <td valign="top">
+
+ <p>Bugfixes only</p>
+
+ </td>
+ </tr>
<tr>
<td valign="top" align="left">
13 years, 9 months
JBoss Tools SVN: r42135 - trunk/documentation/jboss-tools-docs.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-06-20 23:48:54 -0400 (Wed, 20 Jun 2012)
New Revision: 42135
Modified:
trunk/documentation/jboss-tools-docs/pom.xml
Log:
updated for maven guide
Modified: trunk/documentation/jboss-tools-docs/pom.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/pom.xml 2012-06-21 03:46:49 UTC (rev 42134)
+++ trunk/documentation/jboss-tools-docs/pom.xml 2012-06-21 03:48:54 UTC (rev 42135)
@@ -36,8 +36,7 @@
<module>../../maven/docs/reference</module>
<module>../../jbpm/docs/converter_ref</module>
<module>../../jmx/docs/reference</module>
- <module>../../bpel/docs/reference</module>
- <module>../../modeshape/docs/ModeShape_Tools_Reference_Guide</module>
+ <module>../../bpel/docs/reference</module> <module>../../modeshape/docs/ModeShape_Tools_Reference_Guide</module>
<module>index</module>
</modules>
13 years, 9 months
JBoss Tools SVN: r42134 - trunk/maven/docs/reference.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-06-20 23:46:49 -0400 (Wed, 20 Jun 2012)
New Revision: 42134
Added:
trunk/maven/docs/reference/pom.xml
Log:
uploading pom file for maven builds
Added: trunk/maven/docs/reference/pom.xml
===================================================================
--- trunk/maven/docs/reference/pom.xml (rev 0)
+++ trunk/maven/docs/reference/pom.xml 2012-06-21 03:46:49 UTC (rev 42134)
@@ -0,0 +1,239 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>${docname}-${translation}</artifactId>
+ <version>1.0</version>
+ <packaging>jdocbook</packaging>
+ <name>${bookname}-(${translation})</name>
+
+ <properties>
+ <translation>en-US</translation>
+ <docname>Maven_Tools_Reference_Guide</docname>
+ <bookname>Maven_Tools_Reference_Guide</bookname>
+ </properties>
+
+ <profiles>
+
+ <!-- mvn compile -->
+ <profile>
+ <id>all</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.4</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${docname}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <useRelativeImageUris>true</useRelativeImageUris>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- mvn compile -Phtml -->
+ <profile>
+ <id>html</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- mvn compile -Phtml-single -->
+ <profile>
+ <id>html-single</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- mvn compile -Ppdf -->
+ <profile>
+ <id>pdf</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${docname}.pdf</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- mvn compile -Peclipse -->
+ <profile>
+ <id>eclipse</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ <configuration>
+ <formats>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ </profiles>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.3</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.pressgang</groupId>
+ <artifactId>pressgang-xslt</artifactId>
+ <version>1.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-jdocbook-style</artifactId>
+ <version>1.1.1</version>
+ <type>jdocbook-style</type>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDirectory>${project.basedir}</sourceDirectory>
+ <!-- <sourceDocumentName>${docname}.xml</sourceDocumentName> -->
+ <sourceDocumentName>master.xml</sourceDocumentName>
+ <masterTranslation>en-US</masterTranslation>
+ <imageResource>
+ <directory>${project.basedir}/en-US</directory>
+ <includes>
+ <include>images/**/*</include>
+ </includes>
+ </imageResource>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
+ <finalName>${pdf.name}</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <docbookVersion>1.72.0</docbookVersion>
+ <localeSeparator>-</localeSeparator>
+ <transformerParameters>
+ <property>
+ <name>javax.xml.parsers.DocumentBuilderFactory</name>
+ <value>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</value>
+ </property>
+ <property>
+ <name>javax.xml.parsers.SAXParserFactory</name>
+ <value>org.apache.xerces.jaxp.SAXParserFactoryImpl</value>
+ </property>
+ </transformerParameters>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
13 years, 9 months
JBoss Tools SVN: r42133 - trunk/documentation/jboss-tools-docs.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-06-20 23:08:26 -0400 (Wed, 20 Jun 2012)
New Revision: 42133
Modified:
trunk/documentation/jboss-tools-docs/pom.xml
Log:
updated to fix nightly builds
Modified: trunk/documentation/jboss-tools-docs/pom.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/pom.xml 2012-06-21 00:57:42 UTC (rev 42132)
+++ trunk/documentation/jboss-tools-docs/pom.xml 2012-06-21 03:08:26 UTC (rev 42133)
@@ -33,7 +33,7 @@
<module>../../birt/docs</module>
<module>../../drools/docs/reference</module>
<module>../../drools/docs/guvnor_ref</module>
- <module>../../smooks/docs/reference</module>
+ <module>../../maven/docs/reference</module>
<module>../../jbpm/docs/converter_ref</module>
<module>../../jmx/docs/reference</module>
<module>../../bpel/docs/reference</module>
13 years, 9 months
JBoss Tools SVN: r42132 - in trunk/documentation/jboss-tools-docs: index/en-US and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-06-20 20:57:42 -0400 (Wed, 20 Jun 2012)
New Revision: 42132
Modified:
trunk/documentation/jboss-tools-docs/all-guides.xml
trunk/documentation/jboss-tools-docs/index/en-US/master.xml
Log:
updated for new maven guide and removing smooks
Modified: trunk/documentation/jboss-tools-docs/all-guides.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/all-guides.xml 2012-06-20 23:42:20 UTC (rev 42131)
+++ trunk/documentation/jboss-tools-docs/all-guides.xml 2012-06-21 00:57:42 UTC (rev 42132)
@@ -354,8 +354,8 @@
</fileSet>
<fileSet>
- <directory>../../smooks/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/jboss_smooks_plugin_ref_guide</outputDirectory>
+ <directory>../../maven/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/maven_reference</outputDirectory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
<includes>
Modified: trunk/documentation/jboss-tools-docs/index/en-US/master.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/index/en-US/master.xml 2012-06-20 23:42:20 UTC (rev 42131)
+++ trunk/documentation/jboss-tools-docs/index/en-US/master.xml 2012-06-21 00:57:42 UTC (rev 42132)
@@ -57,14 +57,6 @@
</primaryie>
</indexentry>
- <!-- <indexentry>
- <primaryie>Exadel Studio Migration Guide <ulink
- url="en/Exadel-migration/html/index.html">(html)</ulink>
- <ulink url="en/Exadel-migration/html_single/index.html">(html single)</ulink>
- <ulink url="en/Exadel-migration/pdf/Exadel_Studio_Migration_Guide.pdf">(pdf)</ulink>
- </primaryie>
- </indexentry> -->
-
<indexentry>
<primaryie>Hibernate Tools Reference Guide
<ulink url="en/hibernatetools/html/index.html">(html)</ulink>
@@ -117,6 +109,14 @@
</indexentry>
<indexentry>
+ <primaryie>Maven Reference Guide<ulink
+ url="en/maven_reference/html/index.html">(html)</ulink>
+ <ulink url="en/maven_reference/html_single/index.html">(html single)</ulink>
+ <ulink url="en/maven_reference/pdf/Maven_Tools_Reference_Guide.pdf">(pdf)</ulink>
+ </primaryie>
+ </indexentry>
+
+ <indexentry>
<primaryie>OpenShift Tools Reference Guide <ulink
url="en/openshift_tools_reference_guide/html/index.html">(html)</ulink>
<ulink url="en/openshift_tools_reference_guide/html_single/index.html">(html single)</ulink>
@@ -141,14 +141,6 @@
</primaryie>
</indexentry>
- <indexentry>
- <primaryie>Smooks Reference Guide<ulink
- url="en/jboss_smooks_plugin_ref_guide/html/index.html">(html)</ulink>
- <ulink url="en/jboss_smooks_plugin_ref_guide/html_single/index.html">(html single)</ulink>
- <ulink url="en/jboss_smooks_plugin_ref_guide/pdf/Smooks_Reference_Guide.pdf">(pdf)</ulink>
- </primaryie>
- </indexentry>
-
<indexentry>
<primaryie>Struts Tools Reference Guide <ulink
url="en/struts_tools_ref_guide/html/index.html">(html)</ulink>
13 years, 9 months
JBoss Tools SVN: r42131 - in trunk/common/plugins: org.jboss.tools.common.ui/META-INF and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2012-06-20 19:42:20 -0400 (Wed, 20 Jun 2012)
New Revision: 42131
Modified:
trunk/common/plugins/org.jboss.tools.common.ui/META-INF/MANIFEST.MF
trunk/common/plugins/org.jboss.tools.common.ui/plugin.xml
trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/marker/ConfigureProblemSeverityMarkerResolution.java
trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/marker/ConfigureProblemSeverityResolutionGenerator.java
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/TempMarkerManager.java
Log:
Make Quick Fix "Configure Problem Severity" work on Temporary annotations https://issues.jboss.org/browse/JBIDE-12232
Modified: trunk/common/plugins/org.jboss.tools.common.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.ui/META-INF/MANIFEST.MF 2012-06-20 23:30:53 UTC (rev 42130)
+++ trunk/common/plugins/org.jboss.tools.common.ui/META-INF/MANIFEST.MF 2012-06-20 23:42:20 UTC (rev 42131)
@@ -24,14 +24,15 @@
org.eclipse.ui.navigator;bundle-version="3.5.100",
org.eclipse.ui.navigator.resources;bundle-version="3.4.300",
org.eclipse.debug.ui;bundle-version="3.7.0",
- org.jboss.tools.common.validation;bundle-version="3.3.0",
+ org.jboss.tools.common.validation,
org.eclipse.ui.cheatsheets;bundle-version="3.4.0",
org.eclipse.jdt.core.manipulation;bundle-version="1.4.0",
org.eclipse.ltk.core.refactoring;bundle-version="3.5.200",
org.eclipse.jpt.common.core;bundle-version="1.0.0",
org.eclipse.ltk.ui.refactoring;bundle-version="3.6.0",
org.eclipse.wst.server.ui;bundle-version="1.3.0",
- org.eclipse.jdt.junit;bundle-version="3.7.0"
+ org.eclipse.jdt.junit;bundle-version="3.7.0",
+ org.jboss.tools.common.text.xml
Export-Package: org.jboss.tools.common.ui,
org.jboss.tools.common.ui.databinding,
org.jboss.tools.common.ui.dialog,
Modified: trunk/common/plugins/org.jboss.tools.common.ui/plugin.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.ui/plugin.xml 2012-06-20 23:30:53 UTC (rev 42130)
+++ trunk/common/plugins/org.jboss.tools.common.ui/plugin.xml 2012-06-20 23:42:20 UTC (rev 42131)
@@ -39,4 +39,7 @@
<actionSet id="org.eclipse.wst.server.ui.internal.webbrowser.actionSet"/>
</perspectiveExtension>
</extension>
+ <extension point="org.jboss.tools.common.text.xml.quickFix">
+ <quick-fix-generator generator-class="org.jboss.tools.common.ui.marker.ConfigureProblemSeverityResolutionGenerator" id="org.jboss.tools.common.ui.marker.ConfigureProblemSeverityResolutionGenerator" />
+ </extension>
</plugin>
Modified: trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/marker/ConfigureProblemSeverityMarkerResolution.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/marker/ConfigureProblemSeverityMarkerResolution.java 2012-06-20 23:30:53 UTC (rev 42130)
+++ trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/marker/ConfigureProblemSeverityMarkerResolution.java 2012-06-20 23:42:20 UTC (rev 42131)
@@ -24,8 +24,12 @@
import org.eclipse.jface.preference.IPreferenceNode;
import org.eclipse.jface.preference.IPreferencePage;
import org.eclipse.jface.preference.PreferenceManager;
+import org.eclipse.jface.text.IDocument;
+import org.eclipse.jface.text.contentassist.ICompletionProposal;
+import org.eclipse.jface.text.contentassist.IContextInformation;
import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.graphics.Image;
+import org.eclipse.swt.graphics.Point;
import org.eclipse.ui.IMarkerResolution2;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.dialogs.PreferencesUtil;
@@ -38,7 +42,7 @@
* @author Daniel Azarov
*/
public class ConfigureProblemSeverityMarkerResolution implements
- IMarkerResolution2 {
+ IMarkerResolution2, ICompletionProposal {
private static final int PREFERENCE_SIZE = 40;
private static final String DOTS = "...";
@@ -131,4 +135,29 @@
return label;
}
}
+
+ @Override
+ public void apply(IDocument document) {
+ run(null);
+ }
+
+ @Override
+ public Point getSelection(IDocument document) {
+ return null;
+ }
+
+ @Override
+ public String getAdditionalProposalInfo() {
+ return label;
+ }
+
+ @Override
+ public String getDisplayString() {
+ return label;
+ }
+
+ @Override
+ public IContextInformation getContextInformation() {
+ return null;
+ }
}
Modified: trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/marker/ConfigureProblemSeverityResolutionGenerator.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/marker/ConfigureProblemSeverityResolutionGenerator.java 2012-06-20 23:30:53 UTC (rev 42130)
+++ trunk/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/marker/ConfigureProblemSeverityResolutionGenerator.java 2012-06-20 23:42:20 UTC (rev 42131)
@@ -11,6 +11,8 @@
package org.jboss.tools.common.ui.marker;
import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IMarker;
@@ -20,9 +22,13 @@
import org.eclipse.jdt.core.ILocalVariable;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.JavaModelException;
+import org.eclipse.jface.text.contentassist.ICompletionProposal;
+import org.eclipse.jface.text.source.Annotation;
import org.eclipse.ui.IMarkerResolution;
import org.eclipse.ui.IMarkerResolutionGenerator2;
+import org.eclipse.wst.sse.ui.internal.reconcile.TemporaryAnnotation;
import org.jboss.tools.common.EclipseUtil;
+import org.jboss.tools.common.text.xml.quickfix.IQuickFixGenerator;
import org.jboss.tools.common.ui.CommonUIPlugin;
import org.jboss.tools.common.validation.ValidationErrorManager;
@@ -30,7 +36,7 @@
* @author Daniel Azarov
*/
public class ConfigureProblemSeverityResolutionGenerator implements
- IMarkerResolutionGenerator2 {
+ IMarkerResolutionGenerator2, IQuickFixGenerator {
@Override
public IMarkerResolution[] getResolutions(IMarker marker) {
@@ -107,5 +113,36 @@
String attribute = marker.getAttribute(ValidationErrorManager.PREFERENCE_PAGE_ID_NAME, null);
return attribute;
}
+
+ private String getPreferenceKey(TemporaryAnnotation annotation){
+ String attribute = (String)annotation.getAttributes().get(ValidationErrorManager.PREFERENCE_KEY_ATTRIBUTE_NAME);
+ return attribute;
+ }
+ private String getPreferencePageId(TemporaryAnnotation annotation){
+ String attribute = (String)annotation.getAttributes().get(ValidationErrorManager.PREFERENCE_PAGE_ID_NAME);
+ return attribute;
+ }
+
+ @Override
+ public boolean hasProposals(Annotation annotation) {
+ if(annotation instanceof TemporaryAnnotation){
+ return getPreferenceKey((TemporaryAnnotation)annotation) != null && getPreferencePageId((TemporaryAnnotation)annotation) != null;
+ }
+ return false;
+ }
+
+ @Override
+ public List<ICompletionProposal> getProposals(Annotation annotation) {
+ ArrayList<ICompletionProposal> proposals = new ArrayList<ICompletionProposal>();
+ if(annotation instanceof TemporaryAnnotation){
+ String preferenceKey = getPreferenceKey((TemporaryAnnotation)annotation);
+ String preferencePageId = getPreferencePageId((TemporaryAnnotation)annotation);
+ if(preferenceKey != null && preferencePageId != null){
+ proposals.add(new ConfigureProblemSeverityMarkerResolution(preferencePageId, preferenceKey));
+ }
+ }
+ return proposals;
+ }
+
}
Modified: trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/TempMarkerManager.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/TempMarkerManager.java 2012-06-20 23:30:53 UTC (rev 42130)
+++ trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/TempMarkerManager.java 2012-06-20 23:42:20 UTC (rev 42131)
@@ -162,6 +162,13 @@
}
}
IMessage message = addMesssage(validationManager, this.reporter, offset, length, target, lineNumber, severity, textMessage, messageArguments, getMessageBundleName());
+
+ String preferencePageId = getPreferencePageId();
+ if(preferencePageId != null && preferenceKey != null){
+ message.setAttribute(PREFERENCE_KEY_ATTRIBUTE_NAME, preferenceKey);
+ message.setAttribute(PREFERENCE_PAGE_ID_NAME, preferencePageId);
+ }
+
return message;
}
13 years, 9 months
JBoss Tools SVN: r42130 - trunk/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-06-20 19:30:53 -0400 (Wed, 20 Jun 2012)
New Revision: 42130
Modified:
trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Features.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml
Log:
updated to mention compatibility with GA version of EAP6
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2012-06-20 23:30:39 UTC (rev 42129)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2012-06-20 23:30:53 UTC (rev 42130)
@@ -8,7 +8,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>5.0</productnumber>
<edition>5.0.0</edition>
- <pubsnumber>14</pubsnumber>
+ <pubsnumber>15</pubsnumber>
<abstract>
<para>
These release notes contain important information related to the JBoss Developer Studio. New features, known issues, resources, and other current issues are addressed here.
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Features.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Features.xml 2012-06-20 23:30:39 UTC (rev 42129)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Features.xml 2012-06-20 23:30:53 UTC (rev 42130)
@@ -36,7 +36,7 @@
<itemizedlist>
<listitem>
<para>
- The tooling in JBoss Developer Studio 5 works with the Beta version of JBoss Enterprise Application Platform 6.
+ The tooling in JBoss Developer Studio 5 works with JBoss Enterprise Application Platform 6.
</para>
</listitem>
</itemizedlist>
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml 2012-06-20 23:30:39 UTC (rev 42129)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml 2012-06-20 23:30:53 UTC (rev 42130)
@@ -13,7 +13,7 @@
<!-- JBDS-2212 -->
<varlistentry>
<term>
- <ulink url="https://issues.jboss.org/jira/browse/JBDS-2212">JBDS-2212<ulink>
+ <ulink url="https://issues.jboss.org/jira/browse/JBDS-2212">JBDS-2212</ulink>
</term>
<listitem>
<para>
13 years, 9 months
JBoss Tools SVN: r42129 - branches/jbosstools-3.3.x/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-06-20 19:30:39 -0400 (Wed, 20 Jun 2012)
New Revision: 42129
Modified:
branches/jbosstools-3.3.x/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
branches/jbosstools-3.3.x/documentation/guides/JBDS_Release_Notes/en-US/Features.xml
Log:
updated with files from trunk
Modified: branches/jbosstools-3.3.x/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
===================================================================
--- branches/jbosstools-3.3.x/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2012-06-20 23:23:10 UTC (rev 42128)
+++ branches/jbosstools-3.3.x/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2012-06-20 23:30:39 UTC (rev 42129)
@@ -8,7 +8,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>5.0</productnumber>
<edition>5.0.0</edition>
- <pubsnumber>14</pubsnumber>
+ <pubsnumber>15</pubsnumber>
<abstract>
<para>
These release notes contain important information related to the JBoss Developer Studio. New features, known issues, resources, and other current issues are addressed here.
Modified: branches/jbosstools-3.3.x/documentation/guides/JBDS_Release_Notes/en-US/Features.xml
===================================================================
--- branches/jbosstools-3.3.x/documentation/guides/JBDS_Release_Notes/en-US/Features.xml 2012-06-20 23:23:10 UTC (rev 42128)
+++ branches/jbosstools-3.3.x/documentation/guides/JBDS_Release_Notes/en-US/Features.xml 2012-06-20 23:30:39 UTC (rev 42129)
@@ -36,7 +36,7 @@
<itemizedlist>
<listitem>
<para>
- The tooling in JBoss Developer Studio 5 works with the Beta version of JBoss Enterprise Application Platform 6.
+ The tooling in JBoss Developer Studio 5 works with JBoss Enterprise Application Platform 6.
</para>
</listitem>
</itemizedlist>
13 years, 9 months
JBoss Tools SVN: r42128 - trunk/maven/docs/reference/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-06-20 19:23:10 -0400 (Wed, 20 Jun 2012)
New Revision: 42128
Modified:
trunk/maven/docs/reference/en-US/Book_Info.xml
trunk/maven/docs/reference/en-US/creating_a_maven_module.xml
trunk/maven/docs/reference/en-US/creating_a_maven_project.xml
Log:
updated with small typo corrections
Modified: trunk/maven/docs/reference/en-US/Book_Info.xml
===================================================================
--- trunk/maven/docs/reference/en-US/Book_Info.xml 2012-06-20 23:22:53 UTC (rev 42127)
+++ trunk/maven/docs/reference/en-US/Book_Info.xml 2012-06-20 23:23:10 UTC (rev 42128)
@@ -13,7 +13,7 @@
<edition>5.0.0</edition>
- <pubsnumber>3</pubsnumber>
+ <pubsnumber>4</pubsnumber>
<abstract>
<para>
Modified: trunk/maven/docs/reference/en-US/creating_a_maven_module.xml
===================================================================
--- trunk/maven/docs/reference/en-US/creating_a_maven_module.xml 2012-06-20 23:22:53 UTC (rev 42127)
+++ trunk/maven/docs/reference/en-US/creating_a_maven_module.xml 2012-06-20 23:23:10 UTC (rev 42128)
@@ -4,7 +4,7 @@
A Maven module is a sub-project. To create a Maven module you will need to already have a Maven project available.
</para>
<para>
- The parent project must have its <guilabel>Packaing</guilabel> option be pre-configured to <guimenuitem>pom</guimenuitem> for a module to be created and associated to it. To ensure your parent project has this option set correctly before proceeding, double-click on the <filename>pom.xml</filename> file of your parent project in the <guilabel>Project Explorer</guilabel>.
+ The parent project must have its <guilabel>Packaging</guilabel> option be pre-configured to <guimenuitem>pom</guimenuitem>, for a module to be created and associated with it. To ensure your parent project has this option set correctly before proceeding, double-click on the <filename>pom.xml</filename> file of your parent project in the <guilabel>Project Explorer</guilabel>.
</para>
<para>
In the <guilabel>Overview</guilabel> settings page that is now displayed in your workbench, confirm that the option <guibutton>Packaging</guibutton> is set to <guimenuitem>pom</guimenuitem>. If it is not, select <guimenuitem>pom</guimenuitem> from the list menu and save the changes to your <filename>pom.xml</filename> file.
@@ -115,7 +115,7 @@
Specify archetype parameters <guilabel>Group Id</guilabel> and <guilabel>Version</guilabel>. Ensure that the values you specify for these fields are unique from those set in the parent project.
</para>
<para>
- In this example, the <guilabel>Group Id</guilabel> and <guilabel>Version</guilabel> settings of the parent project used are set to <property>group_id</property> and <property>0.0.1-SNAPSHOT</property> respectively. For the module <guilabel>Group Id</guilabel> and <guilabel>Version</guilabel> settings are being specified as <property>sub_group_id</property> and <property>0.1.1-SNAPSHOT</property> respectively, to avoid conflict.
+ In this example, the <guilabel>Group Id</guilabel> and <guilabel>Version</guilabel> settings of the parent project used are set to <property>group_id</property> and <property>0.0.1-SNAPSHOT</property> respectively. For the module, <guilabel>Group Id</guilabel> and <guilabel>Version</guilabel> settings are being specified as <property>sub_group_id</property> and <property>0.1.1-SNAPSHOT</property> respectively, to avoid conflict.
</para>
<figure id="module_creation_07">
<title>Archetype parameter settings</title>
Modified: trunk/maven/docs/reference/en-US/creating_a_maven_project.xml
===================================================================
--- trunk/maven/docs/reference/en-US/creating_a_maven_project.xml 2012-06-20 23:22:53 UTC (rev 42127)
+++ trunk/maven/docs/reference/en-US/creating_a_maven_project.xml 2012-06-20 23:23:10 UTC (rev 42128)
@@ -87,7 +87,7 @@
</mediaobject>
</figure>
<para>
- Clicking <guibutton>Finish</guibutton> will bring back to the workbench and your Maven project will appear in the <guilabel>Project Explorer</guilabel>.
+ Clicking <guibutton>Finish</guibutton> will bring you back to the workbench and your Maven project will appear in the <guilabel>Project Explorer</guilabel>.
</para>
<figure id="application_creation_06">
<title>Project in the Project Explorer</title>
13 years, 9 months