Examples of ResourceSelector


Examples of org.apache.tools.ant.types.resources.selectors.ResourceSelector

     * @return the filters resources
     * @since Ant 1.8.0
     */
    protected Resource[] selectDirectoryResources(Resource[] orig) {
        return selectResources(orig,
                               new ResourceSelector() {
                                   public boolean isSelected(Resource r) {
                                       return r.isDirectory();
                                   }
                               });
    }
View Full Code Here

Examples of org.rhq.coregui.client.inventory.resource.selection.ResourceSelector

    }

    private NavigationSection buildInventorySection() {
        NavigationItem resourceSelectorItem = new NavigationItem(PAGE_RESOURCE_SELECTOR, null, new ViewFactory() {
            public Canvas createView() {
                return new ResourceSelector();
            }
        });

        NavigationItem typeTreeItem = new NavigationItem(PAGE_TYPE_TREE, null, new ViewFactory() {
            public Canvas createView() {
View Full Code Here

Examples of org.rhq.coregui.client.inventory.resource.selection.ResourceSelector

        this.wizard = wizard;
    }

    public Canvas getCanvas() {
        if (selector == null) {
            selector = new ResourceSelector();
        }
        return selector;
    }
View Full Code Here

Examples of org.xvr.xvrengine.widgets.ResourceSelector

    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
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.