adds perspective for Eclipse bundle
This commit is contained in:
1 parent
92428a3859
commit
e4ba753f82
5 files changed
+124
-18
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import org.eclipse.ui.IEditorInput;
|
||||
import org.eclipse.ui.IEditorMatchingStrategy;
|
||||
import org.eclipse.ui.IEditorReference;
|
||||
|
||||
public class SCViewerMatchingStrategy implements IEditorMatchingStrategy {
|
||||
|
||||
@Override
|
||||
public boolean matches(IEditorReference editorRef, IEditorInput input) {
|
||||
return input.getName().endsWith(".ftr") || input.getName().endsWith(".fst")
|
||||
|| input.getName().endsWith(".vcd") || input.getName().endsWith(".txlog")
|
||||
|| input.getName().endsWith(".txlog.gz") || input.getName().endsWith(".txdb");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user