SDK:
- ProjectAssetManager: change getFilesWithSuffix -> getAssetsWithSuffix as they are no file paths. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10093 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
28212be9bb
commit
7a3b2f246e
@ -330,7 +330,7 @@ public class ProjectAssetManager extends DesktopAssetManager {
|
||||
return filesWithSuffix("j3md");
|
||||
}
|
||||
|
||||
public String[] getFilesWithSuffix(String string){
|
||||
public String[] getAssetsWithSuffix(String string){
|
||||
return filesWithSuffix(string);
|
||||
}
|
||||
|
||||
|
@ -162,21 +162,21 @@ public class AssetCompletionProvider implements CompletionProvider {
|
||||
}
|
||||
break;
|
||||
case Font:
|
||||
for (String string : manager.getFilesWithSuffix("fnt")) {
|
||||
for (String string : manager.getAssetsWithSuffix("fnt")) {
|
||||
if (string.startsWith(filter)) {
|
||||
completionResultSet.addItem(new AssetCompletionItem(type, string, startOffset, caretOffset));
|
||||
}
|
||||
}
|
||||
break;
|
||||
case Filter:
|
||||
for (String string : manager.getFilesWithSuffix("j3f")) {
|
||||
for (String string : manager.getAssetsWithSuffix("j3f")) {
|
||||
if (string.startsWith(filter)) {
|
||||
completionResultSet.addItem(new AssetCompletionItem(type, string, startOffset, caretOffset));
|
||||
}
|
||||
}
|
||||
break;
|
||||
case Xml:
|
||||
for (String string : manager.getFilesWithSuffix("xml")) {
|
||||
for (String string : manager.getAssetsWithSuffix("xml")) {
|
||||
if (string.startsWith(filter)) {
|
||||
completionResultSet.addItem(new AssetCompletionItem(type, string, startOffset, caretOffset));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user