Package com.jetbrains.lang.dart.ide.runner

Source Code of com.jetbrains.lang.dart.ide.runner.DartLineBreakpointType

package com.jetbrains.lang.dart.ide.runner;

import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.xdebugger.breakpoints.XLineBreakpointTypeBase;
import com.jetbrains.lang.dart.DartBundle;
import com.jetbrains.lang.dart.DartFileType;
import com.jetbrains.lang.dart.ide.runner.base.DartDebuggerEditorsProvider;
import org.jetbrains.annotations.NotNull;

public class DartLineBreakpointType extends XLineBreakpointTypeBase {

  protected DartLineBreakpointType() {
    super("Dart", DartBundle.message("dart.line.breakpoints.title"), new DartDebuggerEditorsProvider());
  }

  public boolean canPutAt(@NotNull final VirtualFile file, final int line, @NotNull final Project project) {
    return DartFileType.INSTANCE.equals(file.getFileType());
  }
}
TOP

Related Classes of com.jetbrains.lang.dart.ide.runner.DartLineBreakpointType

TOP
Copyright © 2018 www.massapi.com. 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.