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
0
Avatar
Konstantin Bulenkov

Hi,
as far as I see they both public http://i.imgur.com/1We1R9S.png

0
Avatar
Permanently deleted user

Which Build is that?

0
Avatar
Permanently deleted user

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

0
Avatar
Konstantin Bulenkov

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

0

请先登录再写评论。