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 Getting current network

Date: Thu, 6 Sep 2012 21:36:50 -0700 (PDT)
From: Omar Wagih <omarwa...@gmail.com>
To: cytoscape-discuss@googlegroups.com
Cc: Omar Wagih <omarwa...@gmail.com>
Message-Id: <a3669ca9-9362-4a7c-85e1-eb19d74ef26f@googlegroups.com>
In-Reply-To: <504850A9.20005@cgl.ucsf.edu>
References: <41bd2e06-4113-4e5a-985b-90643563af7d@googlegroups.com>
 <504850A9.20005@cgl.ucsf.edu>
Subject: Re: [Cytoscape-discuss] Getting current network
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_46_30573012.1346992610590"

------=_Part_46_30573012.1346992610590
Content-Type: multipart/alternative; 
	boundary="----=_Part_47_21605423.1346992610590"

------=_Part_47_21605423.1346992610590
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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

On Thursday, 6 September 2012 03:28:46 UTC-4, Scooter Morris wrote:
>
>  On 09/05/2012 11:29 PM, Omar Wagih wrote:
>  
> 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 received this message because you are subscribed to the Google Groups 
> "cytoscape-discuss" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/cytoscape-discuss/-/3EfTmmrtO9UJ.
> To post to this group, send email to cytoscap...@googlegroups.com<javascript:>
> .
> To unsubscribe from this group, send email to 
> cytoscape-disc...@googlegroups.com <javascript:>.
> For more options, visit this group at 
> http://groups.google.com/group/cytoscape-discuss?hl=en.
>
> Hi Omar,
>     The current network is maintained by the CyApplicationManager.  So, 
> from your CyAppAdapter:
>
>     CyNetwork currentNetwork = 
> appAdapter.getCyApplicationManager().getCurrentNetwork();
>
> -- scooter
>
>  
------=_Part_47_21605423.1346992610590
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

CyAppAdapter does not exist in the release I have...&nbsp;<div><br></div><d=
iv>Did a grep on "app" in the karaf terminal:</div><div><div>Cytoscape 3.0.=
0-M5&gt; list | &nbsp;grep app</div><div>[ &nbsp;87] [Active &nbsp; &nbsp; =
] [ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;] [ &nbsp;104] Molecular inter=
action cluster (OSGi wrapped version w/dependencies) (1.6)</div><div>[ &nbs=
p;97] [Active &nbsp; &nbsp; ] [ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;] =
[ &nbsp;110] Cytoscape Swing Application API (swing-application-api) (3.0.0=
.beta2)</div><div>[ &nbsp;99] [Active &nbsp; &nbsp; ] [ &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp;] [ &nbsp;110] Cytoscape App API (app-api) (3.0.0.bet=
a2)</div><div>[ 100] [Active &nbsp; &nbsp; ] [ &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp;] [ &nbsp;110] Cytoscape Swing App API (swing-app-api) (3.0.0.=
beta2)</div><div>[ 109] [Active &nbsp; &nbsp; ] [ &nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp;] [ &nbsp;110] Cytoscape Application API (application-api) =
(3.0.0.beta2)</div><div>[ 128] [Active &nbsp; &nbsp; ] [ &nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp; &nbsp;] [ &nbsp;135] Cytoscape Application Impl (applicati=
on-impl) (3.0.0.alpha9)</div><div>[ 135] [Active &nbsp; &nbsp; ] [ &nbsp; &=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp;] [ &nbsp;160] Cytoscape Swing Application=
 Impl (swing-application-impl) (3.0.0.alpha9)</div><div>[ 162] [Active &nbs=
p; &nbsp; ] [ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;] [ &nbsp;175] Cytos=
cape App Impl (app-impl) (3.0.0.alpha9)</div></div><div><br></div><div>The =
version I have (beta3) ..</div><div>I have tired several dependencies in th=
e list like<br><br><div>&lt;dependency&gt;</div><div>&lt;groupId&gt;org.cyt=
oscape&lt;/groupId&gt;</div><div>&lt;artifactId&gt;application-api&lt;/arti=
factId&gt;</div><div>&lt;version&gt;${cytoscape.api.version}&lt;/version&gt=
;</div><div>&lt;/dependency&gt;</div><div><br></div><div>but the package or=
g.cytoscape.app still isnt there.<br><br>I also tried to search maven repos=
itories for CyAppAdaptor... and nothing comes up</div><div><br></div><div>O=
mar</div><br>On Thursday, 6 September 2012 03:28:46 UTC-4, Scooter Morris  =
wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8=
ex;border-left: 1px #ccc solid;padding-left: 1ex;">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div>On 09/05/2012 11:29 PM, Omar Wagih
      wrote:<br>
    </div>
    <blockquote type=3D"cite">How can you get the current network being loo=
ked at?
      <div>Online says use this through the&nbsp;<span style=3D"color:rgb(0=
,0,0);white-space:pre-wrap">CyAppAdapter, but this does
          not seem to be available in the most recent release. Is there
          something I'm missing? </span></div>
      <div><span style=3D"color:rgb(0,0,0);white-space:pre-wrap"><br>
        </span></div>
      <div><span style=3D"color:rgb(0,0,0);white-space:pre-wrap">Cheers</sp=
an></div>
      -- <br>
      You received this message because you are subscribed to the Google
      Groups "cytoscape-discuss" group.<br>
      To view this discussion on the web visit <a href=3D"https://groups.go=
ogle.com/d/msg/cytoscape-discuss/-/3EfTmmrtO9UJ" target=3D"_blank">https://=
groups.google.com/d/<wbr>msg/cytoscape-discuss/-/<wbr>3EfTmmrtO9UJ</a>.<br>
      To post to this group, send email to
      <a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"mT=
NvJDfY2MwJ">cytoscap...@<wbr>googlegroups.com</a>.<br>
      To unsubscribe from this group, send email to
      <a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"mT=
NvJDfY2MwJ">cytoscape-disc...@<wbr>googlegroups.com</a>.<br>
      For more options, visit this group at
      <a href=3D"http://groups.google.com/group/cytoscape-discuss?hl=3Den" =
target=3D"_blank">http://groups.google.com/<wbr>group/cytoscape-discuss?hl=
=3Den</a>.<br>
    </blockquote>
    Hi Omar,<br>
    &nbsp;&nbsp;&nbsp; The current network is maintained by the CyApplicati=
onManager.&nbsp;
    So, from your CyAppAdapter:<br>
    <br>
    &nbsp;&nbsp;&nbsp; CyNetwork currentNetwork =3D appAdapter.<wbr>getCyAp=
plicationManager().<wbr>getCurrentNetwork();<br>
    <br>
    -- scooter<br>
    <br>
  </div>

</blockquote></div>
------=_Part_47_21605423.1346992610590--

------=_Part_46_30573012.1346992610590--