How to set AutoscrollToSource in ProjectViewImpl?

Hi,

I'm developing idea plugin and want set AutoscrollFromSource & AutoscrollToSource in the project view.

I found the following class com.intellij.ide.projectView.impl.ProjectViewImpl that have the following methods:


  • public void setAutoscrollFromSource(boolean autoscrollMode, String paneId)
  • private void setAutoscrollToSource(boolean autoscrollMode, String paneId)
as you see setAutoscrollFromSource is public but setAutoscrollToSource is private so i can't call it, any one know how to set AutoscrollToSource ?? Thanks
5 comments
Comment actions Permalink

Which Build is that?

0
Comment actions Permalink

this is 'isAutoscrollToSource' but 'setAutoscrollToSource' is private just above it in the same link

0
Comment actions Permalink

Sorry, it became public in October 2013 http://i.imgur.com/cO4s98H.png
You can use Java reflection for 12.x plugins

0

Please sign in to leave a comment.