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
Getting current network
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Omar Wagih  
View profile  
 More options Sep 6 2012, 2:29 am
From: Omar Wagih <omarwa...@gmail.com>
Date: Wed, 5 Sep 2012 23:29:42 -0700 (PDT)
Local: Thurs, Sep 6 2012 2:29 am
Subject: Getting current network

How can you get the current network being looked at?
Online says use this through the CyAppAdapter, but this does not seem to be
available in the most recent release. Is there something I'm missing?

Cheers


 
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.
Scooter Morris  
View profile  
 More options Sep 6 2012, 3:28 am
From: Scooter Morris <scoo...@cgl.ucsf.edu>
Date: Thu, 06 Sep 2012 00:28:41 -0700
Local: Thurs, Sep 6 2012 3:28 am
Subject: Re: [Cytoscape-discuss] Getting current network

On 09/05/2012 11:29 PM, Omar Wagih wrote:

Hi Omar,
     The current network is maintained by the CyApplicationManager. So,
from your CyAppAdapter:

     CyNetwork currentNetwork =
appAdapter.getCyApplicationManager().getCurrentNetwork();

-- scooter


 
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.
Omar Wagih  
View profile  
 More options Sep 7 2012, 12:36 am
From: Omar Wagih <omarwa...@gmail.com>
Date: Thu, 6 Sep 2012 21:36:50 -0700 (PDT)
Local: Fri, Sep 7 2012 12:36 am
Subject: Re: [Cytoscape-discuss] Getting current network

CyAppAdapter does not exist in the release I have...

Did a grep on "app" in the karaf terminal:
Cytoscape 3.0.0-M5> list |  grep app
[  87] [Active     ] [            ] [  104] Molecular interaction cluster
(OSGi wrapped version w/dependencies) (1.6)
[  97] [Active     ] [            ] [  110] Cytoscape Swing Application API
(swing-application-api) (3.0.0.beta2)
[  99] [Active     ] [            ] [  110] Cytoscape App API (app-api)
(3.0.0.beta2)
[ 100] [Active     ] [            ] [  110] Cytoscape Swing App API
(swing-app-api) (3.0.0.beta2)
[ 109] [Active     ] [            ] [  110] Cytoscape Application API
(application-api) (3.0.0.beta2)
[ 128] [Active     ] [            ] [  135] Cytoscape Application Impl
(application-impl) (3.0.0.alpha9)
[ 135] [Active     ] [            ] [  160] Cytoscape Swing Application
Impl (swing-application-impl) (3.0.0.alpha9)
[ 162] [Active     ] [            ] [  175] Cytoscape App Impl (app-impl)
(3.0.0.alpha9)

The version I have (beta3) ..
I have tired several dependencies in the list like

<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>application-api</artifactId>
<version>${cytoscape.api.version}</version>
</dependency>

but the package org.cytoscape.app still isnt there.

I also tried to search maven repositories for CyAppAdaptor... and nothing
comes up

Omar


 
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.
Scooter Morris  
View profile  
 More options Sep 7 2012, 12:29 pm
From: Scooter Morris <scoo...@cgl.ucsf.edu>
Date: Fri, 07 Sep 2012 09:29:30 -0700
Local: Fri, Sep 7 2012 12:29 pm
Subject: Re: [Cytoscape-discuss] Getting current network

Those are all bundles.  CyAppAdapter is provided by app-api and
CySwingAppAdapter (which extends CyAppAdapter with some Swing
GUI-specific methods) is provided by swing-app-api.  So all of the
bundles are starting as appropriate. So, in your pom.xml, you need to
depend on org.cytoscape.app:

<dependency>
     <groupId>org.cytoscape</groupId>
     <artifactId>app-api</artifactId>
     <version>${cytoscape.api.version}</version>
</dependency>

-- scooter

On 09/06/2012 09:36 PM, Omar Wagih wrote:


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »