Author: koen.aers(a)jboss.com
Date: 2012-05-24 14:17:36 -0400 (Thu, 24 May 2012)
New Revision: 41366
Modified:
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ForgeCommandProcessor.java
Log:
JBIDE-11124: Removing project via forge is not working properly
-> additional hack to make sure there is no refresh prior to postprocessing the
command
Modified:
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ForgeCommandProcessor.java
===================================================================
---
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ForgeCommandProcessor.java 2012-05-24
18:11:59 UTC (rev 41365)
+++
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ForgeCommandProcessor.java 2012-05-24
18:17:36 UTC (rev 41366)
@@ -47,7 +47,9 @@
if (!commandString.startsWith(" EC: ")) return;
String command = getCommand(commandString);
if (command == null) return;
- refreshWorkspace();
+ if (!("rm".equals(command))) {
+ refreshWorkspace();
+ }
final ForgeCommandPostProcessor postProcessor = getPostProcessors().get(command);
Display.getDefault().syncExec(new Runnable() {
@Override
Show replies by date