Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion cytoscapeDesktop in 3.0
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Keiichiro Ono  
View profile  
 More options Oct 30 2012, 1:13 pm
From: Keiichiro Ono <kei...@gmail.com>
Date: Tue, 30 Oct 2012 10:13:08 -0700
Local: Tues, Oct 30 2012 1:13 pm
Subject: Re: [cytoscape-helpdesk] cytoscapeDesktop in 3.0
Hi Giovanni.

You need to inject CySwingAplication via constructor:

private final CySwingApplication app;

Then, you can access the actual JFrame object by:

JFrame desktop = app.getJFrame();

Kei

2012/10/30 giovanni scardoni <giovanni.scard...@gmail.com>:

> Hi all,
> I am moving my plugins to 3.0.
> How can I get access to the Cytoscape Desktop?
> The code for Cytoscape 2.8 was

>  CytoscapeDesktop desktop = Cytoscape.getDesktop();
>  CytoPanel cytoPanel = desktop.getCytoPanel(SwingConstants.WEST);

> What is the equivalent code for Cytoscape 3?
> Thank you,
> Giovanni

> --
> Giovanni Scardoni
> The Center for BioMedical Computing (CBMC)
> www.cbmc.it
> University of Verona
> Strada le Grazie, 15 -37134
> Verona -Italy

> --
> You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
> To post to this group, send email to cytoscape-helpdesk@googlegroups.com.
> To unsubscribe from this group, send email to cytoscape-helpdesk+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cytoscape-helpdesk?hl=en.

--
Keiichiro Ono    http://www.keiono.net/

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.