|
|
@ -679,12 +679,10 @@ public class EditToolBar extends BasicPane { |
|
|
|
|
|
|
|
|
|
|
|
private void updateCustomToolBarButton() { |
|
|
|
private void updateCustomToolBarButton() { |
|
|
|
CustomToolBarButton customToolBarButton = (CustomToolBarButton) widget; |
|
|
|
CustomToolBarButton customToolBarButton = (CustomToolBarButton) widget; |
|
|
|
if (customToolBarButton.getJSImpl() != null) { |
|
|
|
if (customToolBarButton.getJSImpl() == null) { |
|
|
|
customToolBarButton.setJSImpl(this.javaScriptPane.updateBean()); |
|
|
|
this.javaScriptPane = JavaScriptActionPane.createDefault(); |
|
|
|
} else { |
|
|
|
|
|
|
|
customToolBarButton.setJSImpl(JavaScriptActionPane.createDefault().updateBean()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
customToolBarButton.setJSImpl(this.javaScriptPane.updateBean()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|