-
Bug
-
Resolution: Done
-
Major
-
2.5.0.Final
-
None
value.setDefaultValue(new Callable<JavaResource>() { @Override public JavaResource call() throws Exception { Object selected = builder.getUIContext().getSelection(); if(selected != null && selected instanceof JavaResource) { return (JavaResource)selected; } return null; } });
Object selected is always null.
Using InitalSelection works as expected.
Object selected = builder.getUIContext().getInitialSelection().get();