Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Batch Validation and "clean" action
Batch Validation and "clean" action [message #207661] Tue, 29 January 2008 16:09
Vincent Zurczak is currently offline Vincent ZurczakFriend
Messages: 149
Registered: July 2009
Senior Member

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi. :)<br>
<br>
I have one question about the <i>clean</i> action in the "<i>project</i>"
menu.<br>
I have registered my own validator through the extension <i>org.eclipse.wst.validation.validator.
</i>This validator is defined to work with files whose extension is <i>composite</i>.
So, when I choose a composite file in my project explorer and that I
click on the <i>validate</i> action, the validation works and I can
add my markers. <br>
<br>
I also noticed that when I validate a project or a folder, the included
composite files are validated with my validator, even if I didn't do
anything to get this behaviour. Now, my question is about the <i>project
-&gt; clean</i> sub-menu. When I call it, the method helper.getURIs()
returns an empty list. <br>
<br>
So... How can I detect in my validator that the user has chosen <i>project
-&gt; clean</i> ? Is there any method to complete or implement ? Or
said differently...<br>
<br>
<div align="center">helper.getURIs() returns empty &lt;== equivalent to
==&gt; the user has chosen <i>project -&gt; clean</i>&nbsp; ???<br>
</div>
<br>
.... in which case I can remove all my markers as soon as I get an empty
list.<br>
This is just to understand and avoid upcoming bugs. ;)<br>
<br>
Best Regards,<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; Vincent Zurczak.<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Vincent Zurczak
EBM WebSourcing
+ 33 (0) 4 76 61 52 62
</pre>
</body>
</html>
Previous Topic:WTP newbie question
Next Topic:Adding Project Metainfo to Folders
Goto Forum:
  


Current Time: Sat Apr 27 00:02:17 GMT 2024

Powered by FUDForum. Page generated in 0.02384 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top