예제 #1
0
 /**
  * @param config
  * @return
  * @throws CoreException
  */
 protected String constructProgramString(VMRunnerConfiguration config) throws CoreException {
   File exe = ScriptDebugUtil.findJavaExecutable(fVMInstance.getInstallLocation());
   if (exe == null) {
     throw new Error("not java exe file"); // $NON-NLS-1$
   }
   return exe.getAbsolutePath();
 }
예제 #2
0
 /* (non-Javadoc)
  * @see org.eclipse.jface.text.ITextHover#getHoverRegion(org.eclipse.jface.text.ITextViewer, int)
  */
 public IRegion getHoverRegion(ITextViewer textViewer, int offset) {
   return ScriptDebugUtil.findWord(textViewer.getDocument(), offset);
 }