This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 78746
Collapse All | Expand All

(-)projectui/arch.xml (+9 lines)
Lines 582-587 Link Here
582
 <answer id="exec-property">
582
 <answer id="exec-property">
583
  <ul>
583
  <ul>
584
   <li>
584
   <li>
585
    <api group="property" name="project.tab.no.selection" type="export" category="private">
586
     <p>
587
         When this property is set, the opening of projects doesn't trigger
588
         opening and focusing of the projects logical view top component.
589
         Allows the BlueJ Edition to focus it's own component instead.
590
     </p>
591
    </api>
592
   </li>
593
   <li>
585
    <api group="property" name="org.netbeans.modules.project.ui.OpenProjectList" type="export" category="private">
594
    <api group="property" name="org.netbeans.modules.project.ui.OpenProjectList" type="export" category="private">
586
     <p>
595
     <p>
587
      Error manager logging category for things affecting project list.
596
      Error manager logging category for things affecting project list.
(-)projectui/nbproject/project.properties (-1 / +1 lines)
Lines 15-21 Link Here
15
# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
15
# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
16
# Microsystems, Inc. All Rights Reserved.
16
# Microsystems, Inc. All Rights Reserved.
17
17
18
spec.version.base=1.9.1.2
18
spec.version.base=1.9.1.3
19
19
20
javadoc.arch=${basedir}/arch.xml
20
javadoc.arch=${basedir}/arch.xml
21
21
(-)projectui/src/org/netbeans/modules/project/ui/actions/NewProject.java (-4 / +6 lines)
Lines 122-128 Link Here
122
                    ProjectManager.getDefault().clearNonProjectCache();
122
                    ProjectManager.getDefault().clearNonProjectCache();
123
                    ProjectUtilities.WaitCursor.show();
123
                    ProjectUtilities.WaitCursor.show();
124
                    
124
                    
125
                    if ( newObjects != null && !newObjects.isEmpty() ) { 
125
                    if ( newObjects != null && !newObjects.isEmpty() ) {
126
                        // First. Open all returned projects in the GUI.
126
                        // First. Open all returned projects in the GUI.
127
127
128
                        LinkedList filesToOpen = new LinkedList();
128
                        LinkedList filesToOpen = new LinkedList();
Lines 176-182 Link Here
176
                        }
176
                        }
177
                        
177
                        
178
                        // Show the project tab to show the user we did something
178
                        // Show the project tab to show the user we did something
179
                        ProjectUtilities.makeProjectTabVisible( true );
179
                        if (! Boolean.getBoolean("project.tab.no.selection")) { //NOI18N
180
                            ProjectUtilities.makeProjectTabVisible( true );
181
                        }
180
                        
182
                        
181
                        // Second open the files                
183
                        // Second open the files                
182
                        if (filesToOpen.isEmpty() && lastProject != null) {
184
                        if (filesToOpen.isEmpty() && lastProject != null) {
Lines 187-194 Link Here
187
                            for( Iterator it = filesToOpen.iterator(); it.hasNext(); ) { // Open the files
189
                            for( Iterator it = filesToOpen.iterator(); it.hasNext(); ) { // Open the files
188
                                ProjectUtilities.openAndSelectNewObject( (DataObject)it.next() );
190
                                ProjectUtilities.openAndSelectNewObject( (DataObject)it.next() );
189
                            }
191
                            }
190
                        }                                                
192
                        }
191
193
                        
192
                    }
194
                    }
193
                    ProjectUtilities.WaitCursor.hide();
195
                    ProjectUtilities.WaitCursor.hide();
194
                } catch ( IOException e ) {
196
                } catch ( IOException e ) {
(-)projectui/src/org/netbeans/modules/project/ui/actions/OpenProject.java (-2 / +4 lines)
Lines 137-144 Link Here
137
                                Node[] nodesArray = new Node[ nodes.size() ];
137
                                Node[] nodesArray = new Node[ nodes.size() ];
138
                                nodes.toArray( nodesArray );
138
                                nodes.toArray( nodesArray );
139
                                ptLogial.getExplorerManager ().setSelectedNodes (nodesArray);
139
                                ptLogial.getExplorerManager ().setSelectedNodes (nodesArray);
140
                                ptLogial.open ();
140
                                if (!Boolean.getBoolean("project.tab.no.selection")) { //NOI18N
141
                                ptLogial.requestActive ();
141
                                    ptLogial.open ();
142
                                    ptLogial.requestActive ();
143
                                }
142
                            } catch (Exception ignore) {
144
                            } catch (Exception ignore) {
143
                                // may ignore it
145
                                // may ignore it
144
                            }
146
                            }

Return to bug 78746