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);
}
On Mar 11, 5:57 am, Komal <komalsnehal1...@gmail.com> wrote:
> Hi,
> Here's the link:http://csresources.sourceforge.net/docs/eclipse.html
> Komal
> On Mar 9, 10:46 am, Ronaldo Gigabyte <rgigab...@gmail.com> wrote:
> > 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.