Package net.charabia.jsmoothgen.application

Examples of net.charabia.jsmoothgen.application.JSmoothModelBean


        return top;
    }

    private void setModelCurrentdir(String dir) {
        System.out.println("[DEBUG] Setting current directory to: " + dir);
        JSmoothModelBean jsmodel = getApplication().getModelBean();
        jsmodel.setCurrentDirectory(dir);
    }
View Full Code Here


        jsmodel.setCurrentDirectory(dir);
    }

    private void setModelExename(String exename) {
        System.out.println("[DEBUG] Setting exe name to: " + exename);
        JSmoothModelBean jsmodel = getApplication().getModelBean();
        jsmodel.setExecutableName(exename);
    }
View Full Code Here

        return true;
    }
   
    private void setModelIcon(String iconfile) {
        System.out.println("[DEBUG] Setting icon file to: " + iconfile);
        JSmoothModelBean jsmodel = getApplication().getModelBean();
        jsmodel.setIconLocation(iconfile);
    }
View Full Code Here

        setImage(JSmoothResources.IMG_SWITCHER_EXECUTABLE);
        setToolTip("Windows Executable");
    }

    public void load() {
        JSmoothModelBean jsmodel = getApplication().getModelBean();
        String exename = jsmodel.getExecutableName();
        if (exename == null) exename = "";
        this.exe.setText(exename);
       
        String iconfile = jsmodel.getIconLocation();
        setIcon(iconfile);
       
        String dirname = jsmodel.getCurrentDirectory();
        if (dirname == null) dirname = "";
        this.dir.setText(dirname);
    }
View Full Code Here

        return top;
    }
   
    public void setSkeletonName(String name) {
        System.out.println("[DEBUG] Setting skeleton name: " + name);
        JSmoothModelBean jsmodel = getApplication().getModelBean();
        jsmodel.setSkeletonName(name);
        getApplication().setSkeletonProperties(getApplication().getInititalSkeletonProperties());
    }
View Full Code Here

        if (!app.hasProjectFile()) {
            app.consoleMessage("Cannot run without a project file. Please save the project or load a new one, then try again.");
            return false;
        }
       
        JSmoothModelBean jsmodel = app.getModelBean();
        String basedir = app.getProjectFile().getParent();
        File exe = new File (basedir, jsmodel.getExecutableName());
        app.consoleMessage("Running exe " + exe.getAbsolutePath());
        return Program.launch(exe.getAbsolutePath());
    }
View Full Code Here

        return top;
    }
   
    private void setModelMainclass(String mainclass) {
        System.out.println("[DEBUG] Setting mainclass to: " + mainclass);
        JSmoothModelBean jsmodel = getApplication().getModelBean();
        jsmodel.setMainClassName(mainclass);
    }
View Full Code Here

    }
   
    private void setModelClasspath(String[] classpath) {
        String classpathString = Arrays.asList(classpath).toString();
        System.out.println("[DEBUG] Setting classpath to: " + classpathString);
        JSmoothModelBean jsmodel = getApplication().getModelBean();
        jsmodel.setClassPath(classpath);
    }
View Full Code Here

        jar.setEnabled(b);
    }
   
    private void setModelJar(String jarfile) {
        System.out.println("[DEBUG] Setting jarfile to: " + jarfile);
        JSmoothModelBean jsmodel = getApplication().getModelBean();
        jsmodel.setJarLocation(jarfile);
    }
View Full Code Here

        jsmodel.setJarLocation(jarfile);
    }
   
    private void setModelUsejar(boolean b) {
        System.out.println("[DEBUG] Setting use embedded jar to: " + b);
        JSmoothModelBean jsmodel = getApplication().getModelBean();
        jsmodel.setEmbeddedJar(b);
    }
View Full Code Here

TOP

Related Classes of net.charabia.jsmoothgen.application.JSmoothModelBean

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.