Re: [platform-dev] Hooking custom action to a post-build

2013-07-22 Thread Daniel Megert
Take a look at org.eclipse.core.resources.IResourceChangeListener and how 
it is used.

Dani


From:   Camilo Bernal 
To: [email protected]
Date:   18.07.2013 21:55
Subject:[platform-dev] Hooking custom action to a post-build
Sent by:[email protected]



Hi all,

I'm currently working on a small feature for a C/C++ profiling Eclipse 
plug-in (Valgrind). This plug-in runs a profiling tool on a specific 
binary/project and displays any issues found through the use custom 
error markers on corresponding editor lines, a custom plug-in view and 
the Eclipse's "Problems View". My goal is to clear these error markers 
whenever the project being profiled is rebuilt. In short would like to 
fire a "clear markers" action after a specific project is rebuilt. So my 
question is if there exists any way to achieve this sort of behaviour 
through the platform.

If more detailed is needed please let me know.

Thank you.

-- 
Camilo Bernal

___
platform-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/platform-dev


___
platform-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/platform-dev


Re: [platform-dev] Hooking custom action to a post-build

2013-07-18 Thread Camilo Bernal

On 07/18/2013 03:55 PM, Camilo Bernal wrote:

Hi all,

I'm currently working on a small feature for a C/C++ profiling Eclipse 
plug-in (Valgrind). This plug-in runs a profiling tool on a specific 
binary/project and displays any issues found through the use custom 
error markers on corresponding editor lines, a custom plug-in view and 
the Eclipse's "Problems View". My goal is to clear these error markers 
whenever the project being profiled is rebuilt. In short would like to 
fire a "clear markers" action after a specific project is rebuilt. So 
my question is if there exists any way to achieve this sort of 
behaviour through the platform.


If more detailed is needed please let me know.

Thank you.

Here is a link to the forum post regarding this same question, in case 
anyone prefers to post a suggestion there instead: 
http://www.eclipse.org/forums/index.php/m/1070383/


--
Camilo Bernal

___
platform-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/platform-dev