Package starlight.taliis.core.files

Examples of starlight.taliis.core.files.wowfile


  public void setPluginPool(Vector<Plugin> ref) {
   
  }

  public JPanel createView() {
    wowfile f = (wowfile)fm.getActiveFile().obj;
    if(f instanceof wdt) {
      return new wdtObjectAppTable ( (wdt)f );
    }
    return null;
  }
View Full Code Here


  public void setPluginPool(Vector<Plugin> ref) {
   
  }

  public JPanel createView() {
    wowfile f = (wowfile)fm.getActiveFile().obj;
    if(f instanceof adt) {
      return new adtObjectAppTable ( (adt)f );
    }
    return null;
  }
View Full Code Here

  public void setPluginPool(Vector<Plugin> ref) {
   
  }

  public JPanel createView() {
    wowfile f = (wowfile)fm.getActiveFile().obj;
    if(f instanceof adt) {
      return new adtDoodadFileTable ( (adt)f );
    }
    return null;
  }
View Full Code Here

  }

  public wowfile create() {
    newADTDialog n = new newADTDialog( null );
    if(n.ok==true) {
      wowfile tmp;
     
      switch(n.version) {
        case adt.ADT_VERSION_NORMAL:
        case adt.ADT_VERSION_EXPANSION_TBC:
        case adt.ADT_VERSION_EXPANSION_WOTLK:
View Full Code Here

  }

  public int save(openedFile f) {
    //TODO: catch failures and so on
    if(f.obj instanceof wowfile) {
      wowfile o = (wowfile)f.obj;
     
      // re-render object appears
      adtObjHelper objh = new adtObjHelper((adt)o);
      objh.generateAppeareances();
     
      o.render();
     
      // check
      adtChecker check = new adtChecker((adt)o);
    /*  if(*/check.check();/*==0) {*/
        fileLoader.saveBuffer(o.buff , f.f.getAbsolutePath());
View Full Code Here

TOP

Related Classes of starlight.taliis.core.files.wowfile

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.