Search in sources :

Example 1 with ServiceWrapper

use of com.liferay.ide.hook.core.model.ServiceWrapper in project liferay-ide by liferay.

the class ServiceTypeImplBrowseActionHandler method _getServiceType.

private String _getServiceType(Element element) {
    String retval = null;
    ServiceWrapper service = element.nearest(ServiceWrapper.class);
    JavaTypeName javaTypeName = service.getServiceType().content(false);
    if (javaTypeName != null) {
        retval = javaTypeName.qualified();
    }
    return retval;
}
Also used : ServiceWrapper(com.liferay.ide.hook.core.model.ServiceWrapper) JavaTypeName(org.eclipse.sapphire.java.JavaTypeName)

Aggregations

ServiceWrapper (com.liferay.ide.hook.core.model.ServiceWrapper)1 JavaTypeName (org.eclipse.sapphire.java.JavaTypeName)1