Adding folder to Control Panel

0 views
Skip to first unread message

Sasha

unread,
Dec 11, 2007, 3:26:20 AM12/11/07
to cytoscape-helpdesk
Hello,

In a plugin I'm building, I would like to add a new forlder to Control
Panel next to existing Network, VizMapper, Editor and Filters.
How do I do this?

Thanks,
Sasha

allan_k...@agilent.com

unread,
Dec 11, 2007, 8:45:15 AM12/11/07
to cytoscape...@googlegroups.com
I would suggest that your new folder inherit from a component like JPanel, then you can just add it to the Control Panel via the CytoPanel API, e.g.

Cytoscape.getDesktop().
getCytoPanel(SwingConstants.WEST).add("your folder name",
yourFolderPanel);

AllanK

______________________________

Allan Kuchinsky
Agilent Technologies
5301 Stevens Creek Blvd. Mailstop 54U/SC
Santa Clara, CA, 95051
* phone (408) 553-2423
* mailto:allan_k...@agilent.com

Reply all
Reply to author
Forward
0 new messages