Package org.eclipse.jface.viewers

Examples of org.eclipse.jface.viewers.ILabelProvider.dispose()


        // Listen for disposal
        this.addDisposeListener(new DisposeListener() {
            public void widgetDisposed(DisposeEvent event) {
                contentProvider.dispose();
                labelProvider.dispose();
                categoryTreeViewer.removeTreeListener(collapseListener);
            }
        });

        // initialize the actions that the context sensitive menu requires
View Full Code Here


    dialog.setTitle("Select GWT application");
    dialog.setMessage("&Select existing configuration:");
    dialog.setMultipleSelection(false);
    //
    int result = dialog.open();
    labelProvider.dispose();
    if (result == Window.OK) {
      return (ILaunchConfiguration) dialog.getFirstResult();
    }
    return null;
  }
View Full Code Here

        dialog.setElements(configs.toArray(new ILaunchConfiguration[configs.size()]));
        dialog.setTitle("Pick a Python configuration");
        dialog.setMessage("Choose a python configuration to run");
        dialog.setMultipleSelection(false);
        int result = dialog.open();
        labelProvider.dispose();
        if (result == Window.OK)
            return (ILaunchConfiguration) dialog.getFirstResult();
        else
            return null;
    }
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.