public void onComponentSelection() {
if (useEngine) {
String nodeTypes = this.nodeTypes;
if (linker instanceof EditLinker) {
Module m = ((EditLinker) linker).getSelectedModule();
if (m == null) {
m = ((EditLinker) linker).getMainModule();
}
if (m instanceof ListModule) {
nodeTypes = m.getNodeTypes();
} else if (m instanceof AreaModule) {
nodeTypes = m.getNodeTypes();
}
}
if (nodeTypes.length() > 0) {
ContentActions.showContentWizard(linker, nodeTypes, includeSubTypes);