IntentionPlugins 

HOME INDEX SEARCH GO  

 <<O>>  Difference Topic IntentionPlugins (r1.5 - 09 Jun 2003 - DmitryLomov)

 <<O>>  Difference Topic IntentionPlugins (r1.4 - 04 Jun 2003 - TimurZambalayev)
Added:
>
>

Fixes for some minor NPEs (see issues directory in the source zip). I only added a check "conditionalExpression.getThenExpression() != null && conditionalExpression.getElseExpression() != null" in isAvailable() method. I also added build.xml to the source zip.

Thanks to Dmitry for this sample plugin! It's very useful.

-- TimurZambalayev - 04 Jun 2003

Added:
>
>

%META:FILEATTACHMENT{name="conditionalOperatorConvertor-0.2.1-src.zip" attr="" comment="fixes for minor NPEs" date="1054765212" path="C:\3\conditionalOperatorConvertor-0.2.1-src.zip" size="5729" user="TimurZambalayev" version="1.1"}% %META:FILEATTACHMENT{name="conditionalOperatorConvertor-0.2.1.jar" attr="" comment="" date="1054765228" path="C:\3\conditionalOperatorConvertor-0.2.1.jar" size="4510" user="TimurZambalayev" version="1.1"}%


 <<O>>  Difference Topic IntentionPlugins (r1.3 - 31 May 2003 - DmitryLomov)
Added:
>
>

Updated for #818 (Intention APIs changed)

-- DmitryLomov - 31 May 2003


 <<O>>  Difference Topic IntentionPlugins (r1.2 - 30 May 2003 - DmitryLomov)
Changed:
<
<

%META:FILEATTACHMENT{name="conditionalOperatorConvertor-src.zip" attr="" comment="" date="1053874821" path="conditionalOperatorConvertor-src.zip" size="1659" user="DmitryLomov" version="1.1"}% %META:FILEATTACHMENT{name="conditionalOperatorConvertor.jar" attr="" comment="" date="1053874830" path="conditionalOperatorConvertor.jar" size="3720" user="DmitryLomov" version="1.1"}%

>
>

%META:FILEATTACHMENT{name="conditionalOperatorConvertor-src.zip" attr="" comment="" date="1054296249" path="conditionalOperatorConvertor-src.zip" size="1656" user="DmitryLomov" version="1.2"}% %META:FILEATTACHMENT{name="conditionalOperatorConvertor.jar" attr="" comment="" date="1054296262" path="conditionalOperatorConvertor.jar" size="3725" user="DmitryLomov" version="1.2"}%


 <<O>>  Difference Topic IntentionPlugins (r1.1 - 25 May 2003 - DmitryLomov)
Added:
>
>

%META:TOPICINFO{author="DmitryLomov" date="1053875220" format="1.0" version="1.1"}% %META:TOPICPARENT{name="WebHome"}%

Intention Action Plugins

Starting from build #816, API for registering pluggable intention actions is available on the same terms as PSI (ProgramStructureInterface).

API is very simple and consists of one class and one interface. See attached JavaDoc for details.

Sample plugin for converting conditional operator into if statement is also provided. It is highly recommended to read its source smile

Enjoy!

-- DmitryLomov - 25 May 2003 %META:FILEATTACHMENT{name="conditionalOperatorConvertor-src.zip" attr="" comment="" date="1053874821" path="conditionalOperatorConvertor-src.zip" size="1659" user="DmitryLomov" version="1.1"}% %META:FILEATTACHMENT{name="conditionalOperatorConvertor.jar" attr="" comment="" date="1053874830" path="conditionalOperatorConvertor.jar" size="3720" user="DmitryLomov" version="1.1"}% %META:FILEATTACHMENT{name="intentions-javadoc.zip" attr="" comment="JavaDoc for intentions API" date="1053874962" path="intentions-javadoc.zip" size="11473" user="DmitryLomov" version="1.1"}%


View | Diffs | r1.5 | > | r1.4 | > | r1.3 | More

e d i t a t t a c h r e f - b y d i f f s
Ideas,requests,problems regarding this site? Send feedback.
Copyright @ 2000-2003 by the contribution authors. All material on this collaboration tool is the property of the contributing authors.

Revision r1.1 - 25 May 2003 - 15:07 GMT - DmitryLomov
Revision r1.5 - 09 Jun 2003 - 18:38 GMT - DmitryLomov
Copyright © 2001 by the contributing authors. All material on this collaboration tool is the property of the contributing authors.
Ideas, requests, problems regarding this site? Send feedback.