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

  }

  @Override
  public int save(openedFile file) {
    if(file.obj instanceof wowfile) {
      wowfile o = (wowfile)file.obj;
      o.render();
      fileLoader.saveBuffer(o.buff , file.f.getAbsolutePath());
      return 1;
    }
    return -1;
  }
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;
     
      o.render();
      fileLoader.saveBuffer(o.buff , f.f.getAbsolutePath());
     
      return 1;
    }
    return -1;
View Full Code Here

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

  public JPanel createView() throws InvalidClassException, ChunkNotFoundException {
    wowfile f = (wowfile)fm.getActiveFile().obj;
    if(f instanceof dbc) { 
      MixDataSet data = new MixDataSet();
      data.dbcFile = (dbc)f;
      data.config = cm.requestConfig( fm.getActiveFile().f.getName() + ".conf");
     
View Full Code Here

  public JPanel createView() {
   
    // TODO Auto-generated method stub
    JPanel main = new JPanel();
    openedFile of = fm.getActiveFile();
    wowfile f = (wowfile)fm.getActiveFile().obj;
    if(of.obj instanceof m2) {
      main.setLayout(new BorderLayout());
    }
    if(f instanceof m2){
      return new BaseInfoTable((m2)f);
View Full Code Here

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

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

  public void unload() { }
 
  public wowfile create() { 
    newWDTDialog n = new newWDTDialog( null );
  if(n.ok==true) {
    wowfile tmp = new wdt();
   
   
    // register by ourselfes
    fm.registerObject(
      tmp,
View Full Code Here

    return ret;
  }

  public int save(openedFile file) {
    if(file.obj instanceof wowfile) {
      wowfile o = (wowfile)file.obj;
      o.render();
      fileLoader.saveBuffer(o.buff , file.f.getAbsolutePath());
      return 1;
    }
    return -1;
  }
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.