Programmatically loading a Vizmap style props file

59 views
Skip to first unread message

James McMahon

unread,
Mar 26, 2012, 4:42:10 PM3/26/12
to cytoscap...@googlegroups.com
For the plugin I'm working I'm trying to extract the default style from the java code to an external .props file so that non-programmers can work on it.  I was looking at the LoadVizmapTask inside the ImportVizmapAction class, but that isn't exposed to plugin development.

What is the correct way for a plugin to go about loading a style from a external .props file? And what is the correct place to store / package the .props file with my plugin?

All these question pertain to 2.8.2.

Thanks,
James

Peng-Liang Wang

unread,
Mar 26, 2012, 4:55:46 PM3/26/12
to cytoscap...@googlegroups.com
Look at this page,  #17

http://wiki.cytoscape.org/plugin_developer_tutorial

Peng

--
You received this message because you are subscribed to the Google Groups "cytoscape-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cytoscape-discuss/-/GgZiJ62Gqw8J.
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.

James McMahon

unread,
Mar 26, 2012, 5:11:28 PM3/26/12
to cytoscap...@googlegroups.com
Thanks Peng. I was looking at the FAQ earlier but I completely overlooked that particular question.


On Monday, March 26, 2012 4:55:46 PM UTC-4, penwa...@gmail.com wrote:
On Mon, Mar 26, 2012 at 1:42 PM, James McMahon wrote:
For the plugin I'm working I'm trying to extract the default style from the java code to an external .props file so that non-programmers can work on it.  I was looking at the LoadVizmapTask inside the ImportVizmapAction class, but that isn't exposed to plugin development.

What is the correct way for a plugin to go about loading a style from a external .props file? And what is the correct place to store / package the .props file with my plugin?

All these question pertain to 2.8.2.

Thanks,
James

--
You received this message because you are subscribed to the Google Groups "cytoscape-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cytoscape-discuss/-/GgZiJ62Gqw8J.
To post to this group, send email to cytoscape-discuss@googlegroups.com.
To unsubscribe from this group, send email to cytoscape-discuss+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages