|
|
|
@ -268,25 +268,21 @@ public class AlphaFineDialog extends UIDialog {
|
|
|
|
|
private void rebuildList(String searchText) { |
|
|
|
|
searchListModel.removeAllElements(); |
|
|
|
|
if (searchText.startsWith("k:1 ") || searchText.startsWith("k:setting ")) { |
|
|
|
|
int index = searchText.indexOf(" "); |
|
|
|
|
getActionList(searchText.substring(index + 1, searchText.length())); |
|
|
|
|
getActionList(searchText.substring(searchText.indexOf(" ") + 1, searchText.length())); |
|
|
|
|
return; |
|
|
|
|
} else if (searchText.startsWith("k:2 ") || searchText.startsWith("k:help ")) { |
|
|
|
|
int index = searchText.indexOf(" "); |
|
|
|
|
getDocumentList(searchText.substring(index + 1, searchText.length())); |
|
|
|
|
getDocumentList(searchText.substring(searchText.indexOf(" ") + 1, searchText.length())); |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
} else if (searchText.startsWith("k:3 ") || searchText.startsWith("k:reportlets ")) { |
|
|
|
|
int index = searchText.indexOf(" "); |
|
|
|
|
getFileList(searchText.substring(index + 1, searchText.length())); |
|
|
|
|
getFileList(searchText.substring(searchText.indexOf(" ") + 1, searchText.length())); |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
} else if (searchText.startsWith("k:cpt ") || searchText.startsWith("k:frm ")) { |
|
|
|
|
getFileList(searchText); |
|
|
|
|
return; |
|
|
|
|
} else if (searchText.startsWith("k:4 ") || searchText.startsWith("k:shop ")) { |
|
|
|
|
int index = searchText.indexOf(" "); |
|
|
|
|
getPluginList(searchText.substring(index + 1, searchText.length())); |
|
|
|
|
getPluginList(searchText.substring(searchText.indexOf(" ") + 1, searchText.length())); |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|