Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Assign Default Superclass for a Package
Assign Default Superclass for a Package [message #988245] Thu, 29 November 2012 05:47 Go to next message
Caleb Downs is currently offline Caleb DownsFriend
Messages: 7
Registered: October 2011
Junior Member
Is there a way to make eclipse recognize that, when a class is created in a package, it has a default superclass so the superclass does not have to be defined?

Example:

Let's say I have a package named taco.exceptions. And whenever I create a class in that package, I want the default superclass to be java.lang.Exception, instead of java.lang.Object. This way, I don't need to change the default value if I'm creating a lot of classes in that package.
Re: Assign Default Superclass for a Package [message #988304 is a reply to message #988245] Thu, 29 November 2012 10:38 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 29.11.2012 06:47, Caleb Downs wrote:
> Is there a way to make eclipse recognize that, when a class is created
> in a package, it has a default superclass so the superclass does not
> have to be defined?
No.

Dani
>
> Example:
>
> Let's say I have a package named taco.exceptions. And whenever I
> create a class in that package, I want the default superclass to be
> java.lang.Exception, instead of java.lang.Object. This way, I don't
> need to change the default value if I'm creating a lot of classes in
> that package.
Previous Topic:Eclipse Error
Next Topic:Change font size in SQL results pane?
Goto Forum:
  


Current Time: Fri Apr 26 23:01:16 GMT 2024

Powered by FUDForum. Page generated in 0.02685 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top