Package com.gstaykov.pscoder.editor.completion

Examples of com.gstaykov.pscoder.editor.completion.FileData


  public String[] getAvailableMembers() {
    return Util.getFileDataForActiveFile().getMembers();
  }
 
  public String[] getInheritedMembers() {
    FileData activeFileData = Util.getFileDataForActiveFile();
    String[] sourcedFiles = activeFileData.getSourcedFiles();
   
    try {
      CompletionDictionary dict = CompletionDictionary.getInstance(Util.getActiveProject().getName());
     
      Vector<String> membersList = new Vector<String>();
     
      if (sourcedFiles != null && sourcedFiles.length > 0) {
        for (String sourcedFile : sourcedFiles) {
          System.out.println("Processing " + dict.getFullFilenameForEnding(sourcedFile));
          FileData sourcedFileData = dict.getFileData(dict.getFullFilenameForEnding(sourcedFile));
 
          membersList.addAll(Arrays.asList(sourcedFileData.getMembers()));
        }
      }
     
      // FIXME: [IN] Find a better way to cast to String[]?
      return membersList.toArray(new String[]{});
View Full Code Here

TOP

Related Classes of com.gstaykov.pscoder.editor.completion.FileData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.