Package org.xvr.xvrengine.widgets

Examples of org.xvr.xvrengine.widgets.ResourceSelector$IResourceChangedListener


    new Label(this.container, SWT.NULL).setText(main_html == null ? "NONE" : main_html);
   
    new Label(this.container, SWT.SEPARATOR | SWT.HORIZONTAL).setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
   
    new Label(this.container, SWT.NULL).setText(LABEL_COMPILER);
    this.t_compiler = new ResourceSelector(obj, compiler, this.container, SWT.NULL, ResourceSelector.TYPE_FILE, new String[]{"XVR Compiler"}, new String[]{"*.exe"}, ".exe");
    this.t_compiler.addResourceChangedListener(new IResourceChangedListener() {
      @Override
      public void onResourceChanged(){
        applied = false;
        validate();
      }
    });
   
    new Label(this.container, SWT.SEPARATOR | SWT.HORIZONTAL).setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
   
    new Label(this.container, SWT.NULL).setText(LABEL_INCLUDE);
    this.t_includes = new ResourceSelector(obj, includes, this.container, SWT.NULL, ResourceSelector.TYPE_FOLDER);
    this.t_includes.addResourceChangedListener(new IResourceChangedListener() {
      @Override
      public void onResourceChanged(){
        applied = false;
        validate();
      }
    });
   
    new Label(this.container, SWT.SEPARATOR | SWT.HORIZONTAL).setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
   
    new Label(this.container, SWT.NULL).setText(LABEL_GLUT);
    this.t_glut = new ResourceSelector(obj, glut, this.container, SWT.NULL, ResourceSelector.TYPE_FILE, new String[]{"XVR VM"}, new String[]{"*.exe"}, ".exe");
    this.t_glut.addResourceChangedListener(new IResourceChangedListener() {
      @Override
      public void onResourceChanged(){
        applied = false;
        validate();
      }
    });
   
    new Label(this.container, SWT.SEPARATOR | SWT.HORIZONTAL).setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
   
    new Label(this.container, SWT.NULL).setText(LABEL_FS);
    this.t_fs = new ResourceSelector(obj, fs, this.container, SWT.NULL, ResourceSelector.TYPE_FILE, new String[]{"XVR VM"}, new String[]{"*.exe"}, ".exe");
    this.t_fs.addResourceChangedListener(new IResourceChangedListener() {
      @Override
      public void onResourceChanged(){
        applied = false;
        validate();
View Full Code Here

TOP

Related Classes of org.xvr.xvrengine.widgets.ResourceSelector$IResourceChangedListener

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.