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
BLTK.CONF(5)						Battery life tool kit configuration					      BLTK.CONF(5)

NAME
bltk.conf - config file for bltk DESCRIPTION
bltk.conf may be used to control particular features of bltk. By default, bltk looks for the file in /etc direcotry. FORMAT
The format of bltk.conf is very simple. Each line is either a comment or a directive. Comment lines start with a # and are ignored. A directive line has the format: option=value It is important to note that it is an error to put any space between the option, = and value. Each setting has a compiled in default which may be modified in the configuration file. .BOOLEAN OPTIONS Below is a list of boolean options. The value for a boolean option may be set to YES or NO. CHK_INSTALLED If set to YES, existance of .installed files is checked for. WL_DEVELOPER_ENABLED Controls whether developer workload is enabled. WL_DEVELOPER_EXTERN Controls whether external sources are used to build workload application. WL_GAME_ENABLED Controls whether game workload is enabled. WL_GAME_EXTERN Controls whether external sources are used to build workload application. WL_OFFICE_ENABLED Controls whether office workload is enabled. WL_OFFICE_EXTERN Controls whether external sources are used to build workload application. WL_PLAYER_ENABLED Controls whether player workload is enabled WL_PLAYER_EXTERN Controls whether external sources are used to build workload application. WL_READER_ENABLED Controls whether reader workload is enabled. WL_READER_EXTERN Controls whether external sources are used to build workload application. .STRING OPTIONS BLTK_HOME This option specifies the location of BLTK's home directory. This directory is used as starting directory for saving results and temporary files. SOFFICE_PROG This option specifies an application to be started when office workload is used. WL_OFFICE_WORKING_DIR The option specifies working directory for office workload. BLTK_PLAYER_PROG The option replaces default aplication to be used for playing audio/video BLTK_PLAYER_FILE The option replaces default source to be played. BLTK_READER_PROG The option replaces default aplication to be used for reading a document. BLTK_READER_FILE The option replaces default document to be read. SEE ALSO
bltk(1) AUTHOR
jskala@redhat.com BLTK.CONF 15 July 2009 BLTK.CONF(5)