import org.argeo.connect.AppService;
import org.argeo.connect.SystemAppService;
+import org.argeo.eclipse.ui.EclipseUiUtils;
import org.argeo.suite.SuiteConstants;
import org.argeo.suite.SuiteException;
return null;
}
+ @Override
+ public String getMainNodeType(Node node) {
+ for (AppService appService : knownAppServices) {
+ String foundType = appService.getMainNodeType(node);
+ if (EclipseUiUtils.notEmpty(foundType))
+ return foundType;
+ }
+ return null;
+ }
+
@Override
public String getDefaultRelPath(Session session, String nodetype, String id) {
for (AppService appService : knownAppServices) {