setCurrentVisualStyle not available

23 views
Skip to first unread message

Ritisha Laungani

unread,
Aug 20, 2012, 2:34:14 PM8/20/12
to cytoscap...@googlegroups.com
Hello!

This method:


is defined in the API but is not available for use, i get the error:

"Method setCurrentVisualStyle(VisualStyle) is undefined for the type VisualMappingManager"

Please look into it.

Thanks!

Ritisha.

Ritisha Laungani

unread,
Aug 20, 2012, 2:38:30 PM8/20/12
to cytoscap...@googlegroups.com

Jason Montojo

unread,
Aug 20, 2012, 2:42:43 PM8/20/12
to cytoscap...@googlegroups.com
Hi Ritisha,

It sounds like you're not compiling against or running the latest Cy3 code.  The Javadoc at that link reflects the current state of the code in the repository.  Are you compiling against an SVN checkout like cy3 or app-developer?  Or are you compiling against a snapshot build?

Thanks,
Jason

--
You received this message because you are subscribed to the Google Groups "cytoscape-discuss" group.
To post to this group, send email to cytoscap...@googlegroups.com.
To unsubscribe from this group, send email to cytoscape-disc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cytoscape-discuss?hl=en.

Ritisha Laungani

unread,
Aug 20, 2012, 2:48:51 PM8/20/12
to cytoscap...@googlegroups.com
I am compiling against Cytoscape3-api-M5.jar, using the snapshot from here -  http://chianti.ucsd.edu/cytoscape-3.0.0-M5/ 

Ritisha.

Jason Montojo

unread,
Aug 20, 2012, 2:54:54 PM8/20/12
to cytoscap...@googlegroups.com
Hi Ritisha,

It'd be better if you compiled your code against the latest build.  That way you won't have to make significant changes to your code when 3.0 is released.


Thanks,
Jason
Reply all
Reply to author
Forward
0 new messages