Exemplo n.º 1
0
 public org.eclipse.jface.text.hyperlink.IHyperlinkDetector[] getHyperlinkDetectors(
     org.eclipse.jface.text.source.ISourceViewer sourceViewer) {
   if (sourceViewer == null) {
     return null;
   }
   return new org.eclipse.jface.text.hyperlink.IHyperlinkDetector[] {
     new edu.ustb.sei.mde.testing.testdefinition.resource.testmodel.ui.TestmodelHyperlinkDetector(
         resourceProvider.getResource())
   };
 }
Exemplo n.º 2
0
 protected org.eclipse.jface.text.rules.ITokenScanner getScanner() {
   return new edu.ustb.sei.mde.testing.testdefinition.resource.testmodel.ui.TestmodelTokenScanner(
       resourceProvider.getResource(), colorManager);
 }