|
From: <caw...@us...> - 2007-05-15 20:11:09
|
Revision: 2482
http://svn.sourceforge.net/rubyeclipse/?rev=2482&view=rev
Author: cawilliams
Date: 2007-05-15 13:11:08 -0700 (Tue, 15 May 2007)
Log Message:
-----------
disable install a gem until the remote gem list has been loaded
Modified Paths:
--------------
trunk/com.aptana.rdt/src/com/aptana/rdt/internal/ui/actions/InstallGemActionDelegate.java
Modified: trunk/com.aptana.rdt/src/com/aptana/rdt/internal/ui/actions/InstallGemActionDelegate.java
===================================================================
--- trunk/com.aptana.rdt/src/com/aptana/rdt/internal/ui/actions/InstallGemActionDelegate.java 2007-05-15 17:37:49 UTC (rev 2481)
+++ trunk/com.aptana.rdt/src/com/aptana/rdt/internal/ui/actions/InstallGemActionDelegate.java 2007-05-15 20:11:08 UTC (rev 2482)
@@ -56,6 +56,7 @@
* org.eclipse.jface.viewers.ISelection)
*/
public void selectionChanged(IAction action, ISelection selection) {
+ action.setEnabled(!GemManager.getInstance().getRemoteGems().isEmpty());
}
/**
@@ -63,5 +64,7 @@
*/
public void init(IViewPart view) {
}
+
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|