Package com.dubture.symfony.core.model

Examples of com.dubture.symfony.core.model.Service


     */
    @Override
    public String getText(Object element)
    {
        if (element instanceof Service) {
            Service service = (Service) element;
            return service.getElementName();
        }
       
        return "";
   
View Full Code Here


                if (method != null)
                    return new IModelElement[] { method };
            }

            // next search for a service
            Service service = model.findService(literal, project.getPath());

            if (service != null) {

                IType serviceType = model.findServiceType(service, project);
View Full Code Here

  }

  @Override
  public IGoal[] init() {
    if (goal.getContext() instanceof ISourceModuleContext) {
      Service findService = SymfonyModelAccess.getDefault().findService(goal.getServiceId(),((ISourceModuleContext)goal.getContext()).getSourceModule().getScriptProject().getPath());
      if (findService != null)
        result  = new PHPClassType(findService.getFullyQualifiedName());
    }
    return IGoal.NO_GOALS;
  }
View Full Code Here

TOP

Related Classes of com.dubture.symfony.core.model.Service

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.