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.

Bug 106541 - Go To Type should allow other modules to provide types
Summary: Go To Type should allow other modules to provide types
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Open File (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2007-06-13 16:48 UTC by Torbjorn Norbye
Modified: 2007-08-27 13:45 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torbjorn Norbye 2007-06-13 16:48:26 UTC
The Go To Type dialog, which until now has been hardcoded for Java, should allow other modules to provide type matches such that for example Ruby can 
have its types show up.

This issue will track work to make this possible.
Comment 1 Torbjorn Norbye 2007-06-13 21:11:00 UTC
Checked into utilities/jumpto in the gototype_106541 branch, but the IDE was hanging on refreshing view afterwards so I couldn't get the commit log.

Here's the commit log for the changes to java/sourceui:

IDE:-------------------------------------------------
IDE: [6/13/07 1:03 PM] Committing started
Directory /cvs/java/sourceui/src/META-INF added to the repository
--> Using per-directory sticky tag `gototype_106541'
Directory /cvs/java/sourceui/src/META-INF/services added to the repository
--> Using per-directory sticky tag `gototype_106541'
cvs server: scheduling file `org/netbeans/modules/java/source/ui/JavaTypeDescription.java' for addition on branch `gototype_106541'
cvs server: scheduling file `org/netbeans/modules/java/source/ui/JavaTypeProvider.java' for addition on branch `gototype_106541'
cvs server: scheduling file `META-INF/services/org.netbeans.spi.jumpto.type.TypeProvider' for addition on branch `gototype_106541'
cvs server: use 'cvs commit' to add these files permanently
Checking in nbproject/project.xml;
/cvs/java/sourceui/nbproject/project.xml,v  <--  project.xml
new revision: 1.1.2.1; previous revision: 1.1
done
RCS file: /cvs/java/sourceui/src/org/netbeans/modules/java/source/ui/Attic/JavaTypeDescription.java,v
done
Checking in src/org/netbeans/modules/java/source/ui/JavaTypeDescription.java;
/cvs/java/sourceui/src/org/netbeans/modules/java/source/ui/Attic/JavaTypeDescription.java,v  <--  JavaTypeDescription.java
new revision: 1.1.2.1; previous revision: 1.1
done
RCS file: /cvs/java/sourceui/src/org/netbeans/modules/java/source/ui/Attic/JavaTypeProvider.java,v
done
Checking in src/org/netbeans/modules/java/source/ui/JavaTypeProvider.java;
/cvs/java/sourceui/src/org/netbeans/modules/java/source/ui/Attic/JavaTypeProvider.java,v  <--  JavaTypeProvider.java
new revision: 1.1.2.1; previous revision: 1.1
done
RCS file: /cvs/java/sourceui/src/META-INF/services/Attic/org.netbeans.spi.jumpto.type.TypeProvider,v
done
Checking in src/META-INF/services/org.netbeans.spi.jumpto.type.TypeProvider;
/cvs/java/sourceui/src/META-INF/services/Attic/org.netbeans.spi.jumpto.type.TypeProvider,v  <--  org.netbeans.spi.jumpto.type.TypeProvider
new revision: 1.1.2.1; previous revision: 1.1
done
IDE: [6/13/07 1:03 PM] Committing finished


The commit log for java/source (which basically just rips out a bunch of files and removes layer registrations):

IDE:-------------------------------------------------
IDE: [6/13/07 1:08 PM] Committing started
Removing actions/TypeDescription.java;
/cvs/java/source/src/org/netbeans/modules/java/actions/TypeDescription.java,v  <--  TypeDescription.java
new revision: delete; previous revision: 1.7.8
done
Removing actions/GoToTypeAction.java;
/cvs/java/source/src/org/netbeans/modules/java/actions/GoToTypeAction.java,v  <--  GoToTypeAction.java
new revision: delete; previous revision: 1.26.4
done
Removing actions/GoToPanel.form;
/cvs/java/source/src/org/netbeans/modules/java/actions/GoToPanel.form,v  <--  GoToPanel.form
new revision: delete; previous revision: 1.7.2
done
Removing actions/UiOptions.java;
/cvs/java/source/src/org/netbeans/modules/java/actions/UiOptions.java,v  <--  UiOptions.java
new revision: delete; previous revision: 1.1.14
done
Removing actions/Bundle.properties;
/cvs/java/source/src/org/netbeans/modules/java/actions/Bundle.properties,v  <--  Bundle.properties
new revision: delete; previous revision: 1.11.12
done
Removing actions/GoToPanel.java;
/cvs/java/source/src/org/netbeans/modules/java/actions/GoToPanel.java,v  <--  GoToPanel.java
new revision: delete; previous revision: 1.17.2
done
Checking in source/resources/layer.xml;
/cvs/java/source/src/org/netbeans/modules/java/source/resources/layer.xml,v  <--  layer.xml
new revision: 1.14.2.1; previous revision: 1.14
done
IDE: [6/13/07 1:09 PM] Committing finished

Petr, can you take it from here?
Comment 2 Torbjorn Norbye 2007-06-14 23:09:16 UTC
Checked into trunk.

IDE:-------------------------------------------------
IDE: [6/14/07 3:06 PM] Committing started
Checking in utilities/jumpto/src/org/netbeans/modules/jumpto/resources/Bundle.properties;
/cvs/utilities/jumpto/src/org/netbeans/modules/jumpto/resources/Bundle.properties,v  <--  Bundle.properties
new revision: 1.2; previous revision: 1.1
done
Checking in utilities/jumpto/src/org/netbeans/modules/jumpto/resources/layer.xml;
/cvs/utilities/jumpto/src/org/netbeans/modules/jumpto/resources/layer.xml,v  <--  layer.xml
new revision: 1.2; previous revision: 1.1
done
Checking in utilities/jumpto/src/org/netbeans/modules/jumpto/type/Bundle.properties;
/cvs/utilities/jumpto/src/org/netbeans/modules/jumpto/type/Bundle.properties,v  <--  Bundle.properties
new revision: 1.2; previous revision: 1.1
done
Checking in utilities/jumpto/src/org/netbeans/modules/jumpto/type/GoToPanel.java;
/cvs/utilities/jumpto/src/org/netbeans/modules/jumpto/type/GoToPanel.java,v  <--  GoToPanel.java
new revision: 1.2; previous revision: 1.1
done
Checking in utilities/jumpto/src/org/netbeans/modules/jumpto/type/sample.png;
/cvs/utilities/jumpto/src/org/netbeans/modules/jumpto/type/sample.png,v  <--  sample.png
new revision: 1.2; previous revision: 1.1
done
Checking in utilities/jumpto/src/org/netbeans/modules/jumpto/type/UiOptions.java;
/cvs/utilities/jumpto/src/org/netbeans/modules/jumpto/type/UiOptions.java,v  <--  UiOptions.java
new revision: 1.2; previous revision: 1.1
done
Checking in utilities/jumpto/src/org/netbeans/modules/jumpto/type/GoToTypeAction.java;
/cvs/utilities/jumpto/src/org/netbeans/modules/jumpto/type/GoToTypeAction.java,v  <--  GoToTypeAction.java
new revision: 1.2; previous revision: 1.1
done
Checking in utilities/jumpto/src/org/netbeans/modules/jumpto/type/Factory.java;
/cvs/utilities/jumpto/src/org/netbeans/modules/jumpto/type/Factory.java,v  <--  Factory.java
new revision: 1.2; previous revision: 1.1
done
Checking in utilities/jumpto/src/org/netbeans/modules/jumpto/type/GoToPanel.form;
/cvs/utilities/jumpto/src/org/netbeans/modules/jumpto/type/GoToPanel.form,v  <--  GoToPanel.form
new revision: 1.2; previous revision: 1.1
done
Checking in utilities/jumpto/src/org/netbeans/modules/jumpto/type/Models.java;
/cvs/utilities/jumpto/src/org/netbeans/modules/jumpto/type/Models.java,v  <--  Models.java
new revision: 1.2; previous revision: 1.1
done
Removing java/source/src/org/netbeans/modules/java/actions/GoToPanel.java;
/cvs/java/source/src/org/netbeans/modules/java/actions/GoToPanel.java,v  <--  GoToPanel.java
new revision: delete; previous revision: 1.17
done
Removing java/source/src/org/netbeans/modules/java/actions/UiOptions.java;
/cvs/java/source/src/org/netbeans/modules/java/actions/UiOptions.java,v  <--  UiOptions.java
new revision: delete; previous revision: 1.1
done
Removing java/source/src/org/netbeans/modules/java/actions/Bundle.properties;
/cvs/java/source/src/org/netbeans/modules/java/actions/Bundle.properties,v  <--  Bundle.properties
new revision: delete; previous revision: 1.11
done
Removing java/source/src/org/netbeans/modules/java/actions/TypeDescription.java;
/cvs/java/source/src/org/netbeans/modules/java/actions/TypeDescription.java,v  <--  TypeDescription.java
new revision: delete; previous revision: 1.7
done
Removing java/source/src/org/netbeans/modules/java/actions/GoToTypeAction.java;
/cvs/java/source/src/org/netbeans/modules/java/actions/GoToTypeAction.java,v  <--  GoToTypeAction.java
new revision: delete; previous revision: 1.26
done
Removing java/source/src/org/netbeans/modules/java/actions/GoToPanel.form;
/cvs/java/source/src/org/netbeans/modules/java/actions/GoToPanel.form,v  <--  GoToPanel.form
new revision: delete; previous revision: 1.7
done
Checking in utilities/jumpto/src/org/netbeans/spi/jumpto/type/SearchType.java;
/cvs/utilities/jumpto/src/org/netbeans/spi/jumpto/type/SearchType.java,v  <--  SearchType.java
new revision: 1.2; previous revision: 1.1
done
Checking in utilities/jumpto/src/org/netbeans/spi/jumpto/type/TypeProvider.java;
/cvs/utilities/jumpto/src/org/netbeans/spi/jumpto/type/TypeProvider.java,v  <--  TypeProvider.java
new revision: 1.2; previous revision: 1.1
done
Checking in utilities/jumpto/src/org/netbeans/spi/jumpto/type/TypeDescriptor.java;
/cvs/utilities/jumpto/src/org/netbeans/spi/jumpto/type/TypeDescriptor.java,v  <--  TypeDescriptor.java
new revision: 1.2; previous revision: 1.1
done
Removing utilities/jumpto/src/org/netbeans/modules/jumpto/file/resources/Bundle.properties;
/cvs/utilities/jumpto/src/org/netbeans/modules/jumpto/file/resources/Bundle.properties,v  <--  Bundle.properties
new revision: delete; previous revision: 1.1
done
Removing utilities/jumpto/src/org/netbeans/modules/jumpto/file/resources/layer.xml;
/cvs/utilities/jumpto/src/org/netbeans/modules/jumpto/file/resources/layer.xml,v  <--  layer.xml
new revision: delete; previous revision: 1.3
done
Checking in java/sourceui/nbproject/project.xml;
/cvs/java/sourceui/nbproject/project.xml,v  <--  project.xml
new revision: 1.2; previous revision: 1.1
done
Checking in java/sourceui/src/org/netbeans/modules/java/source/ui/JavaTypeDescription.java;
/cvs/java/sourceui/src/org/netbeans/modules/java/source/ui/JavaTypeDescription.java,v  <--  JavaTypeDescription.java
new revision: 1.2; previous revision: 1.1
done
Checking in java/sourceui/src/org/netbeans/modules/java/source/ui/JavaTypeProvider.java;
/cvs/java/sourceui/src/org/netbeans/modules/java/source/ui/JavaTypeProvider.java,v  <--  JavaTypeProvider.java
new revision: 1.2; previous revision: 1.1
done
Checking in java/sourceui/src/META-INF/services/org.netbeans.spi.jumpto.type.TypeProvider;
/cvs/java/sourceui/src/META-INF/services/org.netbeans.spi.jumpto.type.TypeProvider,v  <--  org.netbeans.spi.jumpto.type.TypeProvider
new revision: 1.2; previous revision: 1.1
done
Checking in utilities/jumpto/manifest.mf;
/cvs/utilities/jumpto/manifest.mf,v  <--  manifest.mf
new revision: 1.2; previous revision: 1.1
done
Checking in java/source/src/org/netbeans/modules/java/source/resources/layer.xml;
/cvs/java/source/src/org/netbeans/modules/java/source/resources/layer.xml,v  <--  layer.xml
new revision: 1.16; previous revision: 1.15
done
Checking in utilities/jumpto/nbproject/project.xml;
/cvs/utilities/jumpto/nbproject/project.xml,v  <--  project.xml
new revision: 1.2; previous revision: 1.1
done
IDE: [6/14/07 3:06 PM] Committing finished
Comment 3 Petr Hrebejk 2007-08-27 13:45:19 UTC
utilities/jumpto. Thanks to Tor.