Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » VE ExpressionVisitor not support ArrayAccess type
VE ExpressionVisitor not support ArrayAccess type [message #616863] Thu, 08 November 2007 23:49
Eclipse User
Originally posted by: caye5200.yahoo.com.cn

I wish to create a new component
(JRadioButtonGroup) that is coded in my particular style by VE

private JRadioButton[] jRBArray=null;
private void initialize() {
this.add(getJRadioButtonGroup(), null);
}
public JRadioButton[] getJRadioButtonGroup(){
if(jRBArray==null)
{
jRBArray=new JRadioButton[2];
jRBArray[0]== new JRadioButton();
jRBArray[0]=.setBounds(new Rectangle(264, 118, 21, 21));
jRBArray[1]== new JRadioButton();
jRBArray[1]=.setBounds(new Rectangle(264, 168, 21, 21));
}
return jRBArray;
}
I'm confusing in the following problems:
ExpressionVisitor ' visit() method support follwing Type
if (exp instanceof MethodInvocation)
SimpleName,
MethodInvocation,
FieldAcess,
ThisExpression
if (exp instanceof Assignment)
SimpleName,QuaufiedName
but my expression Type is ArrayAcess?
how can i do? Please help me ,or give me some other suggestions to this
subject!
zxc
Previous Topic:How to Convert a java file to "IType" ?
Next Topic:Mouse Event in Eclipse plugin
Goto Forum:
  


Current Time: Wed Jul 23 12:16:04 EDT 2014

Powered by FUDForum. Page generated in 0.01551 seconds