Author: kono
Date: 2010-02-01 16:35:54 -0800 (Mon, 01 Feb 2010)
New Revision: 19108
Modified:
cytoscape/trunk/src/cytoscape/data/webservice/ui/UnifiedNetworkImportDialog.java
Log:
Client pack install button removed.
Modified:
cytoscape/trunk/src/cytoscape/data/webservice/ui/UnifiedNetworkImportDialog.java
===================================================================
---
cytoscape/trunk/src/cytoscape/data/webservice/ui/UnifiedNetworkImportDialog.java
2010-02-02 00:31:08 UTC (rev 19107)
+++
cytoscape/trunk/src/cytoscape/data/webservice/ui/UnifiedNetworkImportDialog.java
2010-02-02 00:35:54 UTC (rev 19108)
@@ -460,49 +460,15 @@
area
.setText("There are no network import
web service clients installed.");
} else {
- area
- .setText("To install additional web
service clients, click the install button below.");
+ area.setText("To install additional web service
clients, click the install button below.");
}
area.setEditable(false);
area.setOpaque(false);
area.setAlignmentX(Component.LEFT_ALIGNMENT);
internalPanel.add(area);
- JButton installButton = new JButton("Install Web Services
Pack");
- installButton.setAlignmentX(Component.LEFT_ALIGNMENT);
- internalPanel.add(Box.createVerticalStrut(15));
- internalPanel.add(installButton);
- installPanel.add(internalPanel, BorderLayout.CENTER);
- createInstallButtonListener(installButton);
}
+
- private void createInstallButtonListener(JButton installButton) {
- installButton.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent actionEvent) {
-
cytoscape.data.webservice.util.WebServiceThemeInstall wst = new
cytoscape.data.webservice.util.WebServiceThemeInstall(
-
UnifiedNetworkImportDialog.this);
- boolean displayError = false;
- try {
- cytoscape.plugin.DownloadableInfo
InstalledTheme = wst
- .installTheme();
- if (InstalledTheme == null)
- displayError = true;
- } catch (java.io.IOException ioe) {
- displayError = true;
- logger.warn("I/O error reading theme:
", ioe);
- } catch (org.jdom.JDOMException jde) {
- displayError = true;
- logger.warn("JDOM error parsing theme:
", jde);
- } finally {
- if (displayError)
-
JOptionPane.showMessageDialog(Cytoscape.getDesktop(),
- "Failed to
install the WebServiceThemePack",
- "Install
Error", JOptionPane.ERROR_MESSAGE);
- }
- setDatasource();
- }
- });
- }
-
private void searchButtonActionPerformed(final ActionEvent evt) {
selectedClientID = clientNames
.get(datasourceComboBox.getSelectedItem());
--
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.