Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 114415 Details for
Bug 212326
WTP project creation wizards do not add the project to a working set.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch
Patch for bug - 212326.txt (text/plain), 3.28 KB, created by
Georgi Dimitrov
on 2008-10-07 09:48:44 EDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Georgi Dimitrov
Created:
2008-10-07 09:48:44 EDT
Size:
3.28 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.web.ui >Index: static_web_ui/org/eclipse/wst/web/ui/internal/wizards/DataModelFacetCreationWizardPage.java >=================================================================== >RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/DataModelFacetCreationWizardPage.java,v >retrieving revision 1.33 >diff -u -r1.33 DataModelFacetCreationWizardPage.java >--- static_web_ui/org/eclipse/wst/web/ui/internal/wizards/DataModelFacetCreationWizardPage.java 28 May 2008 15:32:33 -0000 1.33 >+++ static_web_ui/org/eclipse/wst/web/ui/internal/wizards/DataModelFacetCreationWizardPage.java 7 Oct 2008 13:35:15 -0000 >@@ -19,6 +19,8 @@ > import java.util.SortedSet; > > import org.eclipse.jface.dialogs.IDialogSettings; >+import org.eclipse.jface.viewers.ISelection; >+import org.eclipse.jface.viewers.IStructuredSelection; > import org.eclipse.osgi.util.NLS; > import org.eclipse.swt.SWT; > import org.eclipse.swt.events.SelectionAdapter; >@@ -33,6 +35,8 @@ > import org.eclipse.swt.widgets.Group; > import org.eclipse.swt.widgets.Shell; > import org.eclipse.ui.PlatformUI; >+import org.eclipse.ui.dialogs.WorkingSetConfigurationBlock; >+import org.eclipse.ui.dialogs.WorkingSetGroup; > import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties; > import org.eclipse.wst.common.frameworks.datamodel.DataModelEvent; > import org.eclipse.wst.common.frameworks.datamodel.DataModelPropertyDescriptor; >@@ -67,9 +71,13 @@ > private static final String NULL_RUNTIME = "NULL_RUNTIME"; //$NON-NLS-1$ > private static final String MRU_RUNTIME_STORE = "MRU_RUNTIME_STORE"; //$NON-NLS-1$ > >+ >+ > protected IProjectFacet primaryProjectFacet = null; > protected Combo primaryVersionCombo = null; > >+ private WorkingSetGroup workingSetGroup; >+ > protected Set<IProjectFacetVersion> getFacetConfiguration( final IProjectFacetVersion primaryFacetVersion ) > { > final Set<IProjectFacetVersion> config = new HashSet<IProjectFacetVersion>(); >@@ -117,6 +125,7 @@ > createServerTargetComposite(top); > createPrimaryFacetComposite(top); > createPresetPanel(top); >+ createWorkingSetGroupPanel(top); > return top; > } > >@@ -595,4 +604,26 @@ > return null; > } > >+ >+ >+ >+ public WorkingSetGroup createWorkingSetGroup(Composite composite, >+ IStructuredSelection selection, String[] supportedWorkingSetTypes) { >+ if (workingSetGroup != null) >+ return workingSetGroup; >+ workingSetGroup = new WorkingSetGroup(composite, selection, >+ supportedWorkingSetTypes); >+ return workingSetGroup; >+ } >+ >+ public WorkingSetGroup createWorkingSetGroupPanel(Composite composite) { >+ IStructuredSelection structuredSelection = null; >+ ISelection currentSelection = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService().getSelection(); >+ if (currentSelection instanceof IStructuredSelection) { >+ structuredSelection = (IStructuredSelection) currentSelection; >+ } >+ final WorkingSetGroup group = createWorkingSetGroup(composite, structuredSelection, >+ new String[] { "org.eclipse.ui.resourceWorkingSetPage", "org.eclipse.jdt.ui.JavaWorkingSetPage" } ); >+ return group; >+ } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
kaloyan
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 212326
:
114415
|
118946