Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Re: [eclipse plugin ] display a text in a view and modify it
Re: [eclipse plugin ] display a text in a view and modify it [message #553111] Mon, 16 August 2010 13:48
Eclipse User is currently offline Eclipse UserFriend
Messages: 34
Registered: July 2010
Member
Hello !

I've added a view to my plugin and I want to first, read and display a file content and second, have the possibility to modify the content . In other words I want to have an editable zone in my view , a sort of an editor . I didn't know what steps to follow to implement my class . here is the class :
public class LabelView extends ViewPart {
 private Label label;

 public LabelView() {
  super();
 }

 public void setFocus() {
  label.setFocus();
 }

 public void createPartControl(Composite parent) {
  label = new Label(parent, 0);
 }
}


thank you so much for your help
Previous Topic:3.6 distro for Solaris?
Next Topic:Why objectContribution doesn't work?
Goto Forum:
  


Current Time: Sun Jan 17 20:21:23 GMT 2021

Powered by FUDForum. Page generated in 0.01907 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top