Java Doc for AbstractWorkingSetDialog.java in  » IDE-Eclipse » ui-workbench » org » eclipse » ui » internal » dialogs » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » ui workbench » org.eclipse.ui.internal.dialogs 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.ui.dialogs.SelectionDialog
   org.eclipse.ui.internal.dialogs.AbstractWorkingSetDialog

All known Subclasses:   org.eclipse.ui.internal.dialogs.SimpleWorkingSetSelectionDialog,  org.eclipse.ui.internal.dialogs.WorkingSetSelectionDialog,
AbstractWorkingSetDialog
abstract public class AbstractWorkingSetDialog extends SelectionDialog implements IWorkingSetSelectionDialog(Code)
Abstract baseclass for various working set dialogs.
since:
   3.2



Constructor Summary
protected  AbstractWorkingSetDialog(Shell parentShell, String[] workingSetIds, boolean canEdit)
    

Method Summary
protected  voidaddModifyButtons(Composite composite)
     Adds the modify buttons to the dialog.
protected  voidaddSelectionButtons(Composite composite)
     Add the select/deselect buttons.
protected  voidavailableWorkingSetsChanged()
     Notifies the dialog that there has been a change to the sets available for use.
 voidcreateWorkingSet()
     Opens a working set wizard for creating a new working set.
abstract protected  voiddeselectAllSets()
     Deselect all working sets.
 voideditSelectedWorkingSet()
     Opens a working set wizard for editing the currently selected working set.
final protected  ListgetAddedWorkingSets()
     Return the list of working sets that were added during the life of this dialog.
final protected  MapgetEditedWorkingSets()
     Return the map of working sets that were edited during the life of this dialog.
final protected  ListgetRemovedMRUWorkingSets()
     Return the list of working sets that were removed from the MRU list during the life of this dialog.
final protected  ListgetRemovedWorkingSets()
     Return the list of working sets that were removed during the life of this dialog.
abstract protected  ListgetSelectedWorkingSets()
    
public  IWorkingSet[]getSelection()
    
protected  SetgetSupportedWorkingSetIds()
     Return the set of supported working set types.
public  intopen()
    
protected  voidremoveSelectedWorkingSets()
     Removes the selected working sets from the workbench.
protected  voidremoveSelectedWorkingSets(List selection)
     Remove the working sets contained in the provided selection from the working set manager.
abstract protected  voidselectAllSets()
     Select all working sets.
public  voidsetSelection(IWorkingSet[] selection)
    
protected  voidupdateButtonAvailability()
     Updates the modify buttons' enabled state based on the current seleciton.


Constructor Detail
AbstractWorkingSetDialog
protected AbstractWorkingSetDialog(Shell parentShell, String[] workingSetIds, boolean canEdit)(Code)




Method Detail
addModifyButtons
protected void addModifyButtons(Composite composite)(Code)
Adds the modify buttons to the dialog.
Parameters:
  composite - Composite to add the buttons to



addSelectionButtons
protected void addSelectionButtons(Composite composite)(Code)
Add the select/deselect buttons.
Parameters:
  composite - Composite to add the buttons to



availableWorkingSetsChanged
protected void availableWorkingSetsChanged()(Code)
Notifies the dialog that there has been a change to the sets available for use. In other words, the user has either added, deleted or renamed a set.

Subclasses should override, but should call super.availableWorkingSetsChanged to update the selection button enablements.




createWorkingSet
void createWorkingSet()(Code)
Opens a working set wizard for creating a new working set.



deselectAllSets
abstract protected void deselectAllSets()(Code)
Deselect all working sets.



editSelectedWorkingSet
void editSelectedWorkingSet()(Code)
Opens a working set wizard for editing the currently selected working set.
See Also:   org.eclipse.ui.dialogs.IWorkingSetPage



getAddedWorkingSets
final protected List getAddedWorkingSets()(Code)
Return the list of working sets that were added during the life of this dialog. the working sets



getEditedWorkingSets
final protected Map getEditedWorkingSets()(Code)
Return the map of working sets that were edited during the life of this dialog. the working sets



getRemovedMRUWorkingSets
final protected List getRemovedMRUWorkingSets()(Code)
Return the list of working sets that were removed from the MRU list during the life of this dialog. the working sets



getRemovedWorkingSets
final protected List getRemovedWorkingSets()(Code)
Return the list of working sets that were removed during the life of this dialog. the working sets



getSelectedWorkingSets
abstract protected List getSelectedWorkingSets()(Code)



getSelection
public IWorkingSet[] getSelection()(Code)



getSupportedWorkingSetIds
protected Set getSupportedWorkingSetIds()(Code)
Return the set of supported working set types. the supported working set types



open
public int open()(Code)
Overrides method in Dialog
See Also:   org.eclipse.jface.dialogs.Dialog.open



removeSelectedWorkingSets
protected void removeSelectedWorkingSets()(Code)
Removes the selected working sets from the workbench.



removeSelectedWorkingSets
protected void removeSelectedWorkingSets(List selection)(Code)
Remove the working sets contained in the provided selection from the working set manager.
Parameters:
  selection - the sets



selectAllSets
abstract protected void selectAllSets()(Code)
Select all working sets.



setSelection
public void setSelection(IWorkingSet[] selection)(Code)



updateButtonAvailability
protected void updateButtonAvailability()(Code)
Updates the modify buttons' enabled state based on the current seleciton.



Methods inherited from org.eclipse.ui.dialogs.SelectionDialog
protected void configureShell(Shell shell)(Code)(Java Doc)
protected void createButtonsForButtonBar(Composite parent)(Code)(Java Doc)
protected Label createMessageArea(Composite composite)(Code)(Java Doc)
protected IDialogSettings getDialogBoundsSettings()(Code)(Java Doc)
protected int getDialogBoundsStrategy()(Code)(Java Doc)
protected List getInitialElementSelections()(Code)(Java Doc)
protected List getInitialSelections()(Code)(Java Doc)
protected String getMessage()(Code)(Java Doc)
public Button getOkButton()(Code)(Java Doc)
public Object[] getResult()(Code)(Java Doc)
protected boolean isResizable()(Code)(Java Doc)
public void setDialogBoundsSettings(IDialogSettings settings, int strategy)(Code)(Java Doc)
public void setInitialElementSelections(List selectedElements)(Code)(Java Doc)
public void setInitialSelections(Object[] selectedElements)(Code)(Java Doc)
public void setMessage(String message)(Code)(Java Doc)
protected void setResult(List newResult)(Code)(Java Doc)
protected void setSelectionResult(Object[] newResult)(Code)(Java Doc)
public void setTitle(String title)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.