Package org.eclipse.php.internal.ui.doubleclick

Examples of org.eclipse.php.internal.ui.doubleclick.PHPDoubleClickStrategy


  @Override
  public ITextDoubleClickStrategy getDoubleClickStrategy(
      ISourceViewer sourceViewer, String contentType) {
    if (contentType == PHPPartitionTypes.PHP_DEFAULT) {
      // use php's doubleclick strategy
      return new PHPDoubleClickStrategy();
    } else
      return super.getDoubleClickStrategy(sourceViewer, contentType);
  }
View Full Code Here


    public ITextDoubleClickStrategy getDoubleClickStrategy(
            ISourceViewer sourceViewer, String contentType)
    {
        if (contentType == TwigPartitionTypes.TWIG_DEFAULT) {
            // use php's doubleclick strategy
            return new PHPDoubleClickStrategy();
        } else
            return super.getDoubleClickStrategy(sourceViewer, contentType);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.ui.doubleclick.PHPDoubleClickStrategy

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.