Board index » jbuilder » Interface modifier cannot change to class

Interface modifier cannot change to class


2003-09-18 05:04:01 PM
jbuilder4
such as
interface a{
}
change to
class a{
}
it is no change when i set the modifier from interface to class! Is that a
bug again?
 
 

Re:Interface modifier cannot change to class

Please, in future messages, ask your question in
the _body_ of your message. Do not depend upon
just putting it in the "Subject:" line -- it may
go unnoticed if you do.
Quote
Interface modifier cannot change to class
In < XXXX@XXXXX.COM >WongChiHung wrote:
such as

interface a{
}

change to

class a{

}

it is no change when i set the modifier from interface
to class! Is that a bug again?
Don't know. Your message is a bit bare of details.
It would be helpful if you could amplify by including
code snippets which demonstrate how you are trying to
do this.
Paul Furbacher [TeamB]
Save time, search the archives:
info.borland.com/newsgroups/ngsearch.html
Is it in Joi Ellis's Faq-O-Matic?
www.visi.com/~gyles19/fom-serve/cache/1.html
Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.
 

Re:Interface modifier cannot change to class

Hi wong,
How are you changing the modifier from the interface to class? Do you
have any code snippet for the same ?
Thanks and regards.
Vikram
WongChiHung wrote:
Quote
such as

interface a{
}

change to

class a{

}

it is no change when i set the modifier from interface to class! Is that a
bug again?


 

{smallsort}

Re:Interface modifier cannot change to class

My test example is.
JotSourceFile[] jsf =
JBuilderUtil.instance().filterSourceFileFromNode(JBuilderUtil.instance().get
SelectedNode());
((JotClassSource)jsf[0].getClasses()[0]).setModifiers(Modifier.INTERFACE);
i try to get a selected class and then modify it's modifier from class to
interface.
It doesnt work.
"WongChiHung" < XXXX@XXXXX.COM >wrote in message
Quote
such as

interface a{
}

change to

class a{

}

it is no change when i set the modifier from interface to class! Is that a
bug again?