Skip to main content



      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 09:48
Eclipse UserFriend
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: Mon Sep 01 00:02:56 EDT 2025

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

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

Back to the top