Package de.taliis.editor

Examples of de.taliis.editor.openedFile


    // TODO Auto-generated method stub
   
  }
 
  public JPanel createView() {
    openedFile of = fm.getActiveFile();
    if(of==null) return null;
   
    if(of.obj instanceof mpq) {
      mpq file = (mpq)of.obj;
View Full Code Here


 
  public String toString() {
    return "Show Files";
  }
  public void unload() {
    openedFile of = fm.getActiveFile();
    if(of==null) return;
   
    if(of.obj instanceof mpq) {
      mpq file = (mpq)of.obj;
      try {
View Full Code Here

    pp = ref;
  }

  public JPanel createView() {
    // get file
    openedFile of = fm.getActiveFile();
   
    if(of==null || !(of.obj instanceof adt)) return null;
   
    // get data
    adt obj = (adt)of.obj;
View Full Code Here

    gl.glGenTextures(tempi, textures, 0);
    temp=new String[tempi];
    for(int i=0;i<tempi;i++)
      temp[i]=obj.mtex.getValueNo(i);
    for(int i=0;i<tempi;i++){
      openedFile of;
      //if(mpqLoader==null) continue;
      //if(!(mpqLoader instanceof PluginRequest)) continue;
      PluginRequest mpql = (PluginRequest)mpqLoader;
      of = mpql.requestRessource(temp[i]);
          texture[i] = TextureReader.readTexture((blp) of.obj);
View Full Code Here

    }
    else if(e.getSource()==mSaveAs) {
      if(fm.getActiveFile()==null) return;
     
      JFileChooser fc = new JFileChooser();
      openedFile s = fm.getActiveFile();
      fc.setCurrentDirectory( s.f );
      fc.showSaveDialog( null );
     
      if(fc.getSelectedFile()==null) return;
      s.f = fc.getSelectedFile();
View Full Code Here

    // TODO Auto-generated method stub
  }

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

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

  }


  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

         
  }
 
  private void AllWater(){
    // 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 void actionPerformed(ActionEvent arg0) {
    if(arg0.getSource()==mRemAll) {
      openedFile of = fm.getActiveFile();
      if(of==null) return;
     
      if(of.obj instanceof adt) {
        for(int c=0; c<256; c++) {
          // get all shadow layers
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.