Following from the above, here's how to add a new tab in the
Java Editor, on the fly (as
described here, possible from 8.0 onwards), i.e., when the
"Design Custom Component" menu item (which is only available when
you right-click a subclass of com.vaadin.ui.CustomComponent, as
described yesterday) is clicked:
@Overridepublic void actionPerformed(ActionEvent ev) { dobj.getLookup().lookup(Openable.class).open(); TopComponent activated =...