Building cytoscape

17 views
Skip to first unread message

Ronaldo Gigabyte

unread,
Mar 9, 2011, 1:46:41 PM3/9/11
to cytoscape-discuss
Hey,

Can anyone guide me to the proper GUIDE of BUILDING CYTOSCAPE IN
ECLIPSE so as to implement GSOC IDEA 4: Neo4j graph implementation for
Cytoscape 3 and Integration of
Thinker Pop Tools

Thank you.

Komal

unread,
Mar 11, 2011, 6:57:33 AM3/11/11
to cytoscape-discuss

GeorgePZ

unread,
Mar 11, 2011, 1:09:05 PM3/11/11
to cytoscape-discuss


I followed all the steps in the link that was given Komal, (http://
csresources.sourceforge.net/docs/eclipse.html)
however I tried to test this code ( from page:http://
cytoscape.wodaklab.org/wiki/
plugin_developer_tutorial#How_to_add_a_tabbed_Panel_to_Control_panel.
3F );
and I got this errors:
Syntax error on token ""myPanel"", invalid FormalParameterList
PluginWrapper.java /sample/src line 18 Java Problem
Syntax error on token "myPanel", VariableDeclaratorId expected after
this token PluginWrapper.java /sample/src line 18 Java Problem
Syntax error on token(s), misplaced construct(s) PluginWrapper.java /
sample/src line 18 Java Problem

this is the test code:

import javax.swing.ImageIcon;
import javax.swing.JPanel;
import javax.swing.SwingConstants;

import cytoscape.Cytoscape;
import cytoscape.plugin.CytoscapePlugin;
import cytoscape.view.cytopanels.CytoPanelImp;

public class PluginWrapper extends CytoscapePlugin {

//First, get a handler to the cytoPanel west, which is the control
panel
CytoPanelImp ctrlPanel = (CytoPanelImp)
Cytoscape.getDesktop().getCytoPanel(SwingConstants.WEST);

//Create a JPanel object (a class extends JPanel, say, MyPanel)
MyPanel myPanel = new MyPanel();

//Add it to the control panel.
ctrlPanel.add("myPanel", myPanel);
Reply all
Reply to author
Forward
0 new messages