IDEA-67777: Open files by dragging them onto icon in the dock.

This commit is contained in:
Maxim Shafirov
2011-04-13 21:58:52 +04:00
parent acd87cb4c5
commit 375dd2ae87
2 changed files with 21 additions and 2 deletions
+20 -1
View File
@@ -4,7 +4,26 @@
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
@@doc_types@@
<key>CFBundleDocumentTypes</key>
<array>
@@doc_types@@
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>*</string>
</array>
<key>CFBundleTypeName</key>
<string>All documents</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>****</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<false/>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>@@executable@@</string>
<key>CFBundleIconFile</key>
@@ -58,7 +58,7 @@ public class PlatformProjectOpenProcessor extends ProjectOpenProcessor {
}
public boolean canOpenProject(final VirtualFile file) {
return file.isDirectory() || ! file.getFileType().isBinary();
return file.isDirectory();
}
@Override