Results 1 to 5 of 5
  1. #1
    deepali is offline Member
    Join Date
    Sep 2011
    Posts
    8
    Rep Power
    0

    Default collapseToLevel not working

    Hi ,
    I'm using API collapseToLevel(elementOrTreePath, level) for treeviewer . This function was working finely when I used eclipse europa. But once I have exported my plugin to eclipse helios , it isn't working.
    Plz suggest some solution.

    Thanks in advance..

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,041
    Rep Power
    10

    Default Re: collapseToLevel not working

    What exactly do you mean by "not working"? What happens when you take eclipse out of the picture and use the command line instead?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default Re: collapseToLevel not working

    What's treeviewer? No such class in the JDK (and wouldn't be, with that capitalization).

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    deepali is offline Member
    Join Date
    Sep 2011
    Posts
    8
    Rep Power
    0

    Default Re: collapseToLevel not working

    I have a model , in which I display objects(instances of any class) with the use of TreeViewer (which is a class provided by eclipse i.e. org.eclipse.jface.viewers.TreeViewer) . The concept of paging is used to make it compact sized. Using this when I try to get objects present on next page , the list of next paged objects should get populated and it should be reflected in TreeViewer .So, here I'm getting list of req objects but the tree(model tree) is not getting refreshed accordingly.

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default Re: collapseToLevel not working

    Quote Originally Posted by deepali View Post
    a class provided by eclipse i.e. org.eclipse.jface.viewers.TreeViewer
    Moved from Advanced Java.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Collisions are working & not working
    By Jayayoh in forum Java 2D
    Replies: 1
    Last Post: 06-24-2011, 06:21 PM
  2. if else not working
    By silverglade in forum New To Java
    Replies: 5
    Last Post: 05-12-2011, 08:29 PM
  3. Why isn't this working?
    By nickburris in forum New To Java
    Replies: 14
    Last Post: 02-03-2011, 03:00 AM
  4. Replies: 2
    Last Post: 01-04-2011, 05:30 AM
  5. Replies: 8
    Last Post: 05-28-2008, 08:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •