3 Replies Latest reply on Sep 4, 2006 2:42 AM by gurkanerdogdu

    TreeCache API auto-completion in Eclipse IDE

    kapilanand

      I hope this is the right forum to ask this. I am not able to see available methods on TreeCache instance when I press Ctrl-Space in eclipse IDE.

      Pressing F3 on TreeCache class does take me to the class definition that has all methods defined.

      When i type in 'a', it auto-completes into a list of aspect methods (AspectJ)
      adviceexecution, after_returning, after.....

      thanks
      kapil

        • 1. Re: TreeCache API auto-completion in Eclipse IDE
          gurkanerdogdu

          As far as I understand from your question, this is not related Eclipse JBoss Cache IDE question, just eclipse user question.

          If you like to see the all methods of the TreeCache class in eclipse environenment, first of all ensured that TreeCache class exist in your project classpath. And then in your class using the TreeCache instance, you could use . (dot) notation after the TreeCache variable to see the all TreeCache methods. Like this

          public class X {
          private TreeCache treeCacheInstance;

          public void init(){

          ......
          treeCacheInstance.(show all methods when you type dot)

          .....

          }
          }

          I wish this helps

          If you have any questions on the JBoss Cache IDE, you would ask these ide questions to the user forums of the JBoss Eclipse IDE.

          http://www.jboss.com/index.html?module=bb&op=viewforum&f=201


          Gurkan
          JBoss Cache IDE Lead

          • 2. Re: TreeCache API auto-completion in Eclipse IDE
            kapilanand

            Thanks for responding.
            Well this is exactly what I was trying to do: the standard eclipse way of showing available methods, but this does not work. First I thought it had something to do with the AspectJ interation in my eclipse installation but this does not work from a fresh eclipse installation either.
            Regarding the TreeCache being in classpath, it is there and I had mentioned that F3 does take me to the class definition of TreeCache.

            Then I tried JBoss Cache IDE 1.0 and created a new JBoss Cache Project and this work fine from there.
            It does not make sense to me why it does not work from base eclipse.

            • 3. Re: TreeCache API auto-completion in Eclipse IDE
              gurkanerdogdu

               

              Then I tried JBoss Cache IDE 1.0 and created a new JBoss Cache Project


              You now could use the JBoss Cache IDE 2.0 version of the ide contains more functionality and improvements on the 1.0 version

              You could download the ide from main JBoss Eclipse IDE site:

              http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=72248&release_id=440872

              Gurkan