Why is subclassing not allowed for many of the SWT Controls?


 
Thread Tools Search this Thread
Top Forums Programming Why is subclassing not allowed for many of the SWT Controls?
# 1  
Old 12-05-2011
Why is subclassing not allowed for many of the SWT Controls?

hi guys,

Why is subclassing not allowed for many of the SWT Controls?

But Eclipse itself creates our Shell classes in this way (inheriting from Shell) and then overriding checkSubclass() with empty body. So is it good(safe) that we do this way? I have two shells (Shell_1, Shell_2). Shell_1 is parent of Shell_2. I only want to extend from Shell class for Shell_2 so I can simply add controls on it inside the constructor of Shell_2. Is this wrong way to do?
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Solaris

What is the Solaris OS deamon which controls Library?

Hi All, What is the Solaris OS deamon which controls the Libraries? Regards, Rakesh. (2 Replies)
Discussion started by: rakesh.413
2 Replies

2. Shell Programming and Scripting

awk with multiple controls

Hi guys, I have a file which is like this 020-10136044 07-11-26 15:31:22 TRXRMP TCMAGT82TCM LHFE1G76006AK3 020-10136044 07-11-26 15:31:25 CIMFSU TCMAGT82TCM RCS LHFE2G6H006AGP 020-10136055 07-11-26 08:43:21 TRXRMP TCMAGT82TCM LHFE2G6H005QV9 020-10136055 07-11-26 15:31:27... (3 Replies)
Discussion started by: sickboy
3 Replies

3. AIX

Motif on AIX and SWT

hi all, I've written a GUI application in Eclipse using SWT. It's running fine on linux(which uses GTK on x86). But when I ran the same application on AIX(which uses Motif on PPC), the GUI part is suffering. :-( The checkboxes are looking very small(like tiny dots on screen!) , spinners are... (4 Replies)
Discussion started by: v_rathor
4 Replies

4. UNIX for Dummies Questions & Answers

Solaris 10 Resource Controls

I've always been accustomed to setting certain kernel parameters in the /etc/system file. However, with Solaris 10, they have created the resource control utility to set these values. I've set the value for project.max-shm-memory to 4gb with the following command: prctl -n... (2 Replies)
Discussion started by: here2learn
2 Replies

5. UNIX for Dummies Questions & Answers

Print Controls for DG Unix

Hi: We are trying to use UNIX Print Controls for our ERP Package. We have currently set up escape codes on some ERP Users for specific reports. However we would like to try to control this using DG Unix functionality that allows different printers to be set up for one physical printer. Example,... (0 Replies)
Discussion started by: baddi
0 Replies
Login or Register to Ask a Question
CPANPLUS::Shell::Default::Plugins::Source(3)		User Contributed Perl Documentation	      CPANPLUS::Shell::Default::Plugins::Source(3)

NAME
CPANPLUS::Shell::Default::Plugins::Source - read in CPANPLUS commands SYNOPSIS
CPAN Terminal> /source /tmp/list_of_commands /tmp/more_commands DESCRIPTION
This is a "CPANPLUS::Shell::Default" plugin that works just like your unix shells source(1) command; it reads in a file that has commands in it to execute, and then executes them. A sample file might look like this: # first, update all the source files x --update_source # find all of my modules that are on the CPAN # test them, and store the error log a ^KANE$' t * p /home/kane/cpan-autotest/log # and inform us we're good to go ! print "Autotest complete, log stored; please enter your commands!" Note how empty lines, and lines starting with a '#' are being skipped in the execution. BUG REPORTS
Please report bugs or other issues to <bug-cpanplus@rt.cpan.org<gt>. AUTHOR
This module by Jos Boumans <kane@cpan.org>. COPYRIGHT
The CPAN++ interface (of which this module is a part of) is copyright (c) 2001 - 2007, Jos Boumans <kane@cpan.org>. All rights reserved. This library is free software; you may redistribute and/or modify it under the same terms as Perl itself. SEE ALSO
CPANPLUS::Shell::Default, CPANPLUS::Shell, cpanp perl v5.16.3 2013-05-20 CPANPLUS::Shell::Default::Plugins::Source(3)