Differences between revisions 1 and 2
Revision 1 as of 2005-07-22 05:33:17
Size: 2439
Editor: gg
Comment:
Revision 2 as of 2005-07-22 05:48:17
Size: 2975
Editor: gg
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:

----

How to show an image in the page? From HelpOnLinking it should be:

{{{
direct URL insertion; if the URL ends in an image extension (".gif", ".jpg" or ".png"), the URL is converted to an image tag.
}}}

But it didn't worked for me (see below)

Is there also a way to upload the images?

To see this text with images: http://csresources.sourceforge.net/docs/eclipse.html

Here the text:

----
Line 23: Line 41:
## first try for image insertion
Line 30: Line 49:
 * Then select {{{Java Build Path}}} on the left panel and {{{Libraries}}} in the
tabs on the right panel, then choose {{{Add External JARs...}}}
 * Then select {{{Java Build Path}}} on the left panel and {{{Libraries}}} in the tabs on the right panel, then choose {{{Add External JARs...}}}
Line 33: Line 51:
 * Add {{{cytoscape.jar}}} from the main Cytoscape folder and all the {{{.jar}}}
files from the {{{lib/}}} folder inside the main Cytoscape folder. (you need 2
steps to do this, one for cytoscape.jar and another for the other .jar's)
 * Add {{{cytoscape.jar}}} from the main Cytoscape folder and all the {{{.jar}}} files from the {{{lib/}}} folder inside the main Cytoscape folder. (you need 2 steps to do this, one for cytoscape.jar and another for the other .jar's)
Line 38: Line 54:
## second try for image insertion
Line 42: Line 59:
## third try for image insertion (as in the original doc)
Line 63: Line 80:
 * On the next tab ({{{(x)= Arguments}}}) put the path to your Cytoscape's plugins
folder as program arguments (you can add other arguments here, like preload
your network, node/edge atributes, expression data, etc. See the Cytoscape's
[http://cytoscape.org/manual/Cytoscape2_1Manual.pdf manual] for more
information on the available command line options.
 * On the next tab ({{{(x)= Arguments}}}) put the path to your Cytoscape's plugins folder as program arguments (you can add other arguments here, like preload your network, node/edge atributes, expression data, etc. See the Cytoscape's [http://cytoscape.org/manual/Cytoscape2_1Manual.pdf manual] for more information on the available command line options.

How to set up Eclipse to develop Cytoscape plugins (draft)

Márcio Rosa da Silva

June 2005


How to show an image in the page? From HelpOnLinking it should be:

direct URL insertion; if the URL ends in an image extension (".gif", ".jpg" or ".png"), the URL is converted to an image tag.

But it didn't worked for me (see below)

Is there also a way to upload the images?

To see this text with images: http://csresources.sourceforge.net/docs/eclipse.html

Here the text:


TableOfContents

Introduction

After some time trying to do this, I think I got [http://www.eclipse.org Eclipse] to work for me (instead of against me :-) ) so I think I should share this experience with others.

This document assumes that you have [http://www.eclipse.org Eclipse] installed and running.

Creating the project

  • Go to File->New->Project... then select Java Project.

  • On the next dialog, put a name for your project and click Finish.

[http://csresources.sourceforge.net/images/eclipse1.png]

  • Right click the new created project in the Package Explorer and select Properties

  • Then select Java Build Path on the left panel and Libraries in the tabs on the right panel, then choose Add External JARs...

  • Add cytoscape.jar from the main Cytoscape folder and all the .jar files from the lib/ folder inside the main Cytoscape folder. (you need 2 steps to do this, one for cytoscape.jar and another for the other .jar's)

http://csresources.sourceforge.net/images/eclipse2.png

[http://csresources.sourceforge.net/images/eclipse3.png]

Running the plugin

  • To Run your plugin, select Run->Run... in Eclipse and click New (at the bottom-left part of the dialog) to create the settings to run your plugin .

  • Put a Name for the Run Target and choose cytoscape.CyMain as the Main class.

[http://csresources.sourceforge.net/images/eclipse4.png]

  • On the next tab ((x)= Arguments) put the path to your Cytoscape's plugins folder as program arguments (you can add other arguments here, like preload your network, node/edge atributes, expression data, etc. See the Cytoscape's [http://cytoscape.org/manual/Cytoscape2_1Manual.pdf manual] for more information on the available command line options.

[http://csresources.sourceforge.net/images/eclipse5.png]

  • Now you can run your plugin!

SettingUpEclipseForPluginDevelopment (last edited 2017-07-05 14:28:01 by bdemchak)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux