Open main menu

CDOT Wiki β

Changes

Teams Winter 2011/team1/RCP/Define and use editors

80 bytes added, 19:05, 4 March 2011
3. Define and Use Editors
3.3 Adding the editor
Now we should add the <code>''editor''</code> to our extensions.<br/>
Go to <code>''plugin.xml''</code> and select the tab extensions. Add the extension <code>''org.eclipse.ui.editors''</code>.<br/>
[[Image: rcp_editor2.jpg | 700px]]<br/>
In ID, type in <code>''cs.ecl.rcp.smiplercp.studentEditor''</code>.<br/>In class, enter <code>''cs.ecl.rcp.simplercp.MyStudentEditor"''</code>.<br/>
[[Image: rcp_editor1.jpg | 700px]]<br/>
1
edit