Author: paperwing
Date: 2012-04-23 13:04:22 -0700 (Mon, 23 Apr 2012)
New Revision: 28953

Modified:
   
csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/src/main/java/org/cytoscape/app/internal/manager/AppManager.java
   
csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/src/main/java/org/cytoscape/app/internal/net/WebQuerier.java
   
csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/src/main/java/org/cytoscape/app/internal/ui/InstallFromStorePanel.java
Log:
Minor changes -- about to receive feedback on current state, removed extra 
println statement

Modified: 
csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/src/main/java/org/cytoscape/app/internal/manager/AppManager.java
===================================================================
--- 
csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/src/main/java/org/cytoscape/app/internal/manager/AppManager.java
  2012-04-23 19:53:37 UTC (rev 28952)
+++ 
csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/src/main/java/org/cytoscape/app/internal/manager/AppManager.java
  2012-04-23 20:04:22 UTC (rev 28953)
@@ -33,7 +33,7 @@
        
        /** This subdirectory in the local Cytoscape storage directory is used 
to store app data, as 
         * well as installed and uninstalled apps. */
-       private static final String APPS_DIRECTORY_NAME = "apps";
+       private static final String APPS_DIRECTORY_NAME = "3.0/apps";
        
        /** The set of all apps, represented by {@link App} objects, registered 
to this App Manager. */
        private Set<App> apps;

Modified: 
csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/src/main/java/org/cytoscape/app/internal/net/WebQuerier.java
===================================================================
--- 
csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/src/main/java/org/cytoscape/app/internal/net/WebQuerier.java
      2012-04-23 19:53:37 UTC (rev 28952)
+++ 
csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/src/main/java/org/cytoscape/app/internal/net/WebQuerier.java
      2012-04-23 20:04:22 UTC (rev 28953)
@@ -138,8 +138,7 @@
                
                try {
                        String jsonResult = query(APP_STORE_URL + "apps/tags");
-                       System.out.println("Tag request result: " + jsonResult);
-                       
+
                        JSONArray jsonArray = new JSONArray(jsonResult);
                        
                        for (int i = 0; i < jsonArray.length(); i++) {

Modified: 
csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/src/main/java/org/cytoscape/app/internal/ui/InstallFromStorePanel.java
===================================================================
--- 
csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/src/main/java/org/cytoscape/app/internal/ui/InstallFromStorePanel.java
    2012-04-23 19:53:37 UTC (rev 28952)
+++ 
csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/src/main/java/org/cytoscape/app/internal/ui/InstallFromStorePanel.java
    2012-04-23 20:04:22 UTC (rev 28953)
@@ -118,7 +118,7 @@
                 "font-size: " + font.getSize() + "pt; }";
         ((HTMLDocument) 
descriptionTextPane.getDocument()).getStyleSheet().addRule(bodyRule);
         
-        descriptionTextPane.setText("<html>   <head>    </head>   <body>     
<p style=\"margin-top: 0\"> App information is displayed here. <a 
href=\"http://www.w3schools.com/\";>Test link</a>          </p>   </body> 
</html> ");
+        descriptionTextPane.setText("<html> <head> </head> <body> <p 
style=\"margin-top: 0\"> App information is displayed here. <a 
href=\"http://www.w3schools.com/\";>Test link</a>          </p>   </body> 
</html> ");
         descriptionTextPane.setText("");
         descriptionScrollPane.setViewportView(descriptionTextPane);
 
@@ -454,8 +454,17 @@
                
                text = "";
                text += "<html> <head> </head> <body>";
+               
+               // App hyperlink to web store page
                text += "<p style=\"margin-top: 0\"> <a href=\"" + 
selectedApp.getAppStoreUrl() + "\">" + selectedApp.getAppStoreUrl() + "</a> 
</p>";
+               
+               // App image
+               // text += "<img src=\"" + selectedApp.getIconUrl() + "\" 
alt=\"" + selectedApp.getFullName() + "\"/>";
+               
+               // App name
                text += "<p> <b>" + selectedApp.getFullName() + "</b> </p>";
+               
+               // App description
                text += "<p>" + selectedApp.getDescription() + "</p>";
                text += "</body> </html>";
                descriptionTextPane.setText(text);

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

Reply via email to