Examples of JSmoothModelBean


Examples of net.charabia.jsmoothgen.application.JSmoothModelBean

        jsmodel.setEmbeddedJar(b);
    }
   
    private void setModelArguments(String args) {
        System.out.println("[DEBUG] Setting argument to: " + args);
        JSmoothModelBean jsmodel = getApplication().getModelBean();
        jsmodel.setArguments(args);
    }
View Full Code Here

Examples of net.charabia.jsmoothgen.application.JSmoothModelBean

        setImage(JSmoothResources.IMG_SWITCHER_APPLICATION);
        setToolTip("Java Application");
    }

    public void load() {
        JSmoothModelBean jsmodel = getApplication().getModelBean();
        String[] classpath = jsmodel.getClassPath();
        if (classpath == null) classpath = new String[0];
        this.classpath.setItems(classpath);
       
        boolean usejar = jsmodel.getEmbeddedJar();
        this.usejar.setSelection(usejar);
        LISTENER_USEJAR.widgetSelected(null);
       
        String mainclass = jsmodel.getMainClassName();
        if (mainclass == null) mainclass = "";
        this.mainclass.setText(mainclass);
       
        String jar = jsmodel.getJarLocation();
        if (jar == null) jar = "";
        this.jar.setText(jar);
       
        String args = jsmodel.getArguments();
        if (args == null) args = "";
        this.args.setText(args);
    }
View Full Code Here

Examples of net.charabia.jsmoothgen.application.JSmoothModelBean

       
        return top;
    }

    public void load() {
        JSmoothModelBean jsmodel = getApplication().getModelBean();
    }
View Full Code Here

Examples of net.charabia.jsmoothgen.application.JSmoothModelBean

        this.skeletonList = new SkeletonList(new File("skeletons"));
    }
   
    public void newProject() {
        // Create a new empty JSmoothModelBean
        jsmodel = new JSmoothModelBean();
        jsmodel.setSkeletonName(getInitialSkeletonName());
        setSkeletonProperties(getInititalSkeletonProperties());
        jsmodel.setExecutableName("");
        jsmodel.setArguments("");
        jsmodel.setBundledJVMPath("");
View Full Code Here

Examples of net.charabia.jsmoothgen.application.JSmoothModelBean

    }
   
    public boolean openProject(String projectfile) {
        System.out.println("[DEBUG] Opening project : " + projectfile);
        File file = new File(projectfile);
        JSmoothModelBean jsmodel = null;
        try {
            jsmodel = JSmoothModelPersistency.load(file);
        } catch (IOException e) {
            System.out.println("[ERROR] Failed opening project : " + e.getMessage());
            return false;
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.