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 00:47 Go to next message
Caleb Downs is currently offline Caleb Downs
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 05:38 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
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: Thu Jul 24 04:29:20 EDT 2014

Powered by FUDForum. Page generated in 0.02310 seconds