<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
    <extension
        point="org.eclipse.core.runtime.preferences">
        <initializer class="org.eclipse.linuxtools.systemtap.ui.consolelog.preferences.PreferenceInitializer"/>
    </extension>

    <extension
        point="org.eclipse.ui.preferencePages">
        <page
            name="%preference.consoleLog.name"
            id="org.eclipse.linuxtools.systemtap.prefs.consoleLog"
            class="org.eclipse.linuxtools.systemtap.ui.consolelog.preferences.ConsoleLogPreferencePage"
            category="org.eclipse.linuxtools.systemtap.prefs.view"/>
    </extension>
 <extension
       point="org.eclipse.ui.console.consolePageParticipants">
    <consolePageParticipant
          class="org.eclipse.linuxtools.systemtap.ui.consolelog.ScriptConsolePageParticipant"
          id="org.eclipse.linuxtools.systemtap.ui.consolelog.scriptConsolePageParticipant">
       <enablement>
          <instanceof
                value="org.eclipse.linuxtools.systemtap.ui.consolelog.structures.ScriptConsole">
          </instanceof></enablement>
    </consolePageParticipant>
 </extension>
<extension
         point="org.eclipse.ui.console.consolePatternMatchListeners">
       <consolePatternMatchListener
            class="org.eclipse.linuxtools.internal.systemtap.consolelog.ErrorLineMatcher"
            id="org.eclipse.linuxtools.systemtap.ErrorLineMatcher"
            regex=".*\/.*:\d+">
         <enablement>
            <test property="org.eclipse.ui.console.consoleTypeTest" value="stap"/>
         </enablement>
      </consolePatternMatchListener>
   </extension>
</plugin>
