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 154623 Details for
Bug 272076
[launching] always validate prior to launching
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
PluginStatusDialog_patch.txt
PluginStatusDialog_patch.txt (text/plain), 3.03 KB, created by
Lars Vogel
on 2009-12-16 22:50:25 EST
(
hide
)
Description:
PluginStatusDialog_patch.txt
Filename:
MIME Type:
Creator:
Lars Vogel
Created:
2009-12-16 22:50:25 EST
Size:
3.03 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.ui >Index: src/org/eclipse/pde/internal/ui/launcher/PluginStatusDialog.java >=================================================================== >RCS file: /cvsroot/eclipse/pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/PluginStatusDialog.java,v >retrieving revision 1.19 >diff -u -r1.19 PluginStatusDialog.java >--- src/org/eclipse/pde/internal/ui/launcher/PluginStatusDialog.java 18 Aug 2009 18:13:39 -0000 1.19 >+++ src/org/eclipse/pde/internal/ui/launcher/PluginStatusDialog.java 17 Dec 2009 03:52:18 -0000 >@@ -18,7 +18,10 @@ > import org.eclipse.pde.internal.ui.*; > import org.eclipse.pde.internal.ui.elements.DefaultContentProvider; > import org.eclipse.swt.SWT; >+import org.eclipse.swt.events.SelectionAdapter; >+import org.eclipse.swt.events.SelectionEvent; > import org.eclipse.swt.layout.GridData; >+import org.eclipse.swt.layout.GridLayout; > import org.eclipse.swt.widgets.*; > import org.eclipse.ui.PlatformUI; > >@@ -53,6 +56,8 @@ > private Map fInput; > private TreeViewer treeViewer; > >+ private boolean validate; >+ > public PluginStatusDialog(Shell parentShell, int style) { > super(parentShell); > setShellStyle(style); >@@ -93,21 +98,46 @@ > > protected Control createDialogArea(Composite parent) { > Composite container = (Composite) super.createDialogArea(parent); >+ GridLayout layout = new GridLayout(); >+ layout.numColumns = 2; >+ container.setLayout(layout); >+ > GridData gd = new GridData(GridData.FILL_BOTH); > gd.widthHint = 400; > gd.heightHint = 300; >+ > container.setLayoutData(gd); > >+ gd = new GridData(); >+ gd.horizontalSpan = 2; >+ > Label label = new Label(container, SWT.NONE); > label.setText(PDEUIMessages.PluginStatusDialog_label); >+ label.setLayoutData(gd); >+ >+ gd = new GridData(); >+ gd.grabExcessHorizontalSpace = true; >+ gd.grabExcessVerticalSpace = true; >+ gd.horizontalAlignment = GridData.FILL; >+ gd.verticalAlignment = GridData.FILL; >+ gd.horizontalSpan = 2; > > treeViewer = new TreeViewer(container); > treeViewer.setContentProvider(new ContentProvider()); > treeViewer.setLabelProvider(PDEPlugin.getDefault().getLabelProvider()); > treeViewer.setComparator(new ViewerComparator()); > treeViewer.setInput(fInput); >- treeViewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH)); >+ treeViewer.getControl().setLayoutData(gd); > >+ final Button validateAutomatically = new Button(container, SWT.CHECK); >+ validateAutomatically.setSelection(true); >+ validate = true; >+ validateAutomatically.setText(PDEUIMessages.PluginsTabToolBar_auto_validate); >+ validateAutomatically.addSelectionListener(new SelectionAdapter() { >+ public void widgetSelected(SelectionEvent e) { >+ validate = validateAutomatically.getSelection(); >+ } >+ }); > getShell().setText(PDEUIMessages.PluginStatusDialog_pluginValidation); > Dialog.applyDialogFont(container); > return container; >@@ -140,4 +170,8 @@ > treeViewer.refresh(); > } > >+ public boolean getValidate() { >+ return validate; >+ } >+ > }
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 Raw
Actions:
View
Attachments on
bug 272076
:
131698
| 154623 |
154624