Package org.eclipse.jdt.internal.ui.propertiesfileeditor

Examples of org.eclipse.jdt.internal.ui.propertiesfileeditor.PropertiesFileEditor


   
    for(IResource res : members)
    {
      if(res.getName().matches(propertiesRegEx))
      {
        PropertiesFileEditor propertiesEditor = new PropertiesFileEditor();
       
        int propertiesEditorIndex;
        try {
          propertiesEditorIndex = addPage(propertiesEditor, new FileEditorInput(((IFile)res)));
        } catch (PartInitException e) {
          ErrorDialog.openError(getSite().getShell(), "Error creating Properties editor", null, e.getStatus());
          continue;
        }
       
        propertiesEditors.add(propertiesEditor);
        propertiesEditorIndexs.add(propertiesEditorIndex);
       
        setPageText(propertiesEditorIndex, propertiesEditor.getTitle());
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.ui.propertiesfileeditor.PropertiesFileEditor

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.