IExtractArtifactDialog (LayoutTreeComponent treeComponent, String initialName) { final ExtractArtifactDialog dialog = new ExtractArtifactDialog(myArtifactEditor.getContext(), treeComponent, initialName); if (!dialog.showAndGet()) { return null; } return dialog; }