use of org.netbeans.core.spi.multiview.MultiViewElementCallback in project netbeans-mmd-plugin by raydac.
the class MMDGraphEditor method copyNameToCallbackTopComponent.
private void copyNameToCallbackTopComponent() {
final MultiViewElementCallback c = this.callback;
if (c != null) {
final TopComponent tc = c.getTopComponent();
if (tc != null) {
tc.setHtmlDisplayName(this.getHtmlDisplayName());
tc.setDisplayName(this.getDisplayName());
tc.setName(this.getName());
tc.setToolTipText(this.getToolTipText());
}
}
if (this.editorSupport != null) {
this.editorSupport.updateTitles();
}
}
Aggregations