1
package codeminerui.utils;
3
import java.io.IOException;
5
import org.eclipse.core.runtime.IPath;
6
import org.eclipse.ui.IEditorLauncher;
8
public class NotePad implements IEditorLauncher {
11
public void open(IPath file) {
12
// TODO Auto-generated method stub
15
// TODO C'est maaaal !
16
String[] cmd = { "E:\\Program Files\\Notepad++\\notepad++.exe",
18
Runtime.getRuntime().exec(cmd);
20
} catch (IOException e) {
21
// TODO Auto-generated catch block