Permalink
Browse files

Lookup is working

  • Loading branch information...
1 parent b06cbd9 commit ee602b5967398756eb1ffd115f43002c8bb37f3d @gastaldi gastaldi committed Mar 6, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/forgeide/producer/FurnaceProducer.java
@@ -70,7 +70,7 @@ public void setup()
availableCommands = new HashMap<String, List<String>>();
AddonRegistry addonRegistry = furnace.getAddonRegistry();
- CommandFactory commandFactory = addonRegistry.getServices(CommandFactory.class).get();
+ CommandFactory commandFactory = (CommandFactory) addonRegistry.getServices(CommandFactory.class.getName()).get();
IDEUIContext context = new IDEUIContext();
for (UICommand cmd : commandFactory.getCommands())
{

0 comments on commit ee602b5

Please sign in to comment.