Examples of wowfile


Examples of starlight.taliis.core.files.wowfile

    return "Holes";
  }

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

Examples of starlight.taliis.core.files.wowfile

    return "AreaIDs";
  }

  @Override
  public JPanel createView() {
    wowfile f = (wowfile)fm.getActiveFile().obj;
    for(Plugin p : pp) {
      if(p.getClass().toString().endsWith("mpqFileRequest"))
        dLoader=new dbcLoader(fm, p)
    }
   
View Full Code Here

Examples of starlight.taliis.core.files.wowfile

                    choices.toArray(),
                    null);
      if(result==null) return -2;
     
      PluginStorage n = result.ref;
      wowfile tmp = n.create();
     
      // register only at empty return. maybe
      // the plugin want to register it itself
      if(tmp!=null) {
        fm.registerObject(tmp, null);
View Full Code Here

Examples of starlight.taliis.core.files.wowfile

  }

  @Override
  public JPanel createView() {
    // TODO Auto-generated method stub
    wowfile f = (wowfile)fm.getActiveFile().obj;
    if(f instanceof m2) {
      return new m2TextureTable ( (m2)f );
    }
    return null;
  }
View Full Code Here

Examples of starlight.taliis.core.files.wowfile

 
  public int save(openedFile f) {
    //TODO: catch failures and so on
    if(f.obj instanceof wowfile) {
      wowfile o = (wowfile)f.obj;
     
      o.render();
      fileLoader.saveBuffer(o.buff , f.f.getAbsolutePath());
     
      return 1;
    }
    return -1;
View Full Code Here

Examples of starlight.taliis.core.files.wowfile

  fileMananger fm;
  ImageIcon viewIcon = null;

  public JPanel createView() {
    JPanel tmp = new JPanel();
    wowfile f = (wowfile)fm.getActiveFile().obj;
   
    String text = "";
    if(f instanceof adt) text = "ADT File";
    else if(f instanceof dbc) text = "DBC File";
    else text = f.getClass().toString();
     
    tmp.add(new JLabel(text), "Center");
    return tmp;
  }
View Full Code Here

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 dbc) {
      return new dbcStringTable ( (dbc)f );
    }
    return null;
  }
View Full Code Here

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 adt) {
      return new adtObjectFileTable ( (adt)f );
    }
    return null;
  }
View Full Code Here

Examples of starlight.taliis.core.files.wowfile

  @Override
  public int save(openedFile f) {
    // TODO Auto-generated method stub
    if(f.obj instanceof wowfile) {
      wowfile o = (wowfile)f.obj;
      o.render();
        fileLoader.saveBuffer(o.buff , f.f.getAbsolutePath());
        return 1;
    }
    return -1;
  }
View Full Code Here

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 adt) {
      return new adtTextureFileTable( (adt)f );
    }
    return null;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.