Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

plug-in project

 
Yeonsil Yoon
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi.. I'm really begineer in java...
I'm trying to change plug-in project file but it's not easy..

public class AccelerometerView extends ViewPart {
...
}
This class is used for making UI like panel, button, label, etc. and it called just once when program is launched.
Looks like this is not use constructor. The UI generated using application.start() (?).

public class AccelerometerData {
...
}
This class is used for handling socket data. It received data from socket.

What I'm trying to do is check the data in AccelerometerData and update the AccelerometerView.
But I don't know how to update the existing UI attribute ex. button name change.

I'm not sure even my question is correct..
Thank you!

 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Is this some particular API you're using, or are you writing all these classes yourself? If the former, which one is it?
 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Once is enough, thank you.
 
    Bookmark Topic Watch Topic
  • New Topic