Package de.taliis.editor

Examples of de.taliis.editor.openedFile


    return "ADT Array";
  }
 
  public void actionPerformed(ActionEvent e) {
    if(e.getSource()==mRemAll) {
      openedFile of = fm.getActiveFile();
      if(of==null) return;
     
      if(of.obj instanceof wdt) {
        wdt o = (wdt)of.obj;
        if(o.main==null) return;
View Full Code Here


  }

  @Override
  public void actionPerformed(ActionEvent arg0) {
    // TODO Auto-generated method stub
    openedFile os = fm.getActiveFile();
    wdt obj = null;
    if(os.obj instanceof wdt){
      obj=(wdt) os.obj;
    }
    else return;
    for(int x=0;x<64;x++){
      for(int y=0;y<64;y++){
        String name=os.f.getAbsolutePath().substring(0, os.f.getAbsolutePath().length()-4)+"_"+x+"_"+y+".adt";
        openedFile of = null;
        try {
          of = fm.openFileLocation(name);
        }
        catch(Exception e){
         
View Full Code Here

  @Override
  public JPanel createView() throws InvalidClassException,
      ChunkNotFoundException {
    // get file
    openedFile of = fm.getActiveFile();

    if (of == null || !(of.obj instanceof wdl))
      return null;
    wdl obj = (wdl) of.obj;
    // create buffered image
View Full Code Here

  /**
   * Exports our layers as RGB image. Same directory as the ADT file have itself.
   */
  private void Export() {
    // get file
    openedFile of = fm.getActiveFile();
   
    if(of==null || !(of.obj instanceof wdl)) return;
   
    // get data
    wdl obj = (wdl)of.obj;
View Full Code Here

  }

  @Override
  public void actionPerformed(ActionEvent arg0) {
    // TODO Auto-generated method stub
    openedFile os = fm.getActiveFile();
    wdl obj = null;
    if(os.obj instanceof wdl){
      obj=(wdl) os.obj;
    }
    else return;
    for(int x=0;x<64;x++){
      for(int y=0;y<64;y++){
        String name=os.f.getAbsolutePath().substring(0, os.f.getAbsolutePath().length()-4)+"_"+x+"_"+y+".adt";
        openedFile of = null;
        try {
          of = fm.openFileLocation(name);
        }
        catch(Exception e){
         
View Full Code Here

    // TODO Auto-generated method stub
  }
 
  private void Import() {
    // get file
    openedFile of = fm.getActiveFile();

    if (of == null || !(of.obj instanceof adt))
      return;

    // get data
View Full Code Here

  /**
   * Exports our layers as RGB image. Same directory as the ADT file have itself.
   */
  private void Export() {
    // get file
    openedFile of = fm.getActiveFile();
   
    if(of==null || !(of.obj instanceof adt)) return;
   
    // get data
    adt obj = (adt)of.obj;
View Full Code Here

  }


  public JPanel createView() {
    // get file
    openedFile of = fm.getActiveFile();

    if (of == null || !(of.obj instanceof adt))
      return null;

    // get data
View Full Code Here

TOP

Related Classes of de.taliis.editor.openedFile

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.