mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 07:35:24 +02:00

Get rid of etools references. The tutorial still requires some work since it is hard to update from the code. All highlighting and anchor creation is done by hand, as are the differences from step to step.
25 lines
1 KiB
HTML
Executable file
25 lines
1 KiB
HTML
Executable file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html>
|
|
|
|
<head>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
|
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2002, 2006. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
|
|
<LINK REL="STYLESHEET" HREF="../../book.css" TYPE="text/css">
|
|
<title>Startup Method in RSESamplesPlugin</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Startup Method in RSESamplesPlugin</h1>
|
|
<pre><samp>
|
|
public void startup() throws CoreException
|
|
{
|
|
super.startup();
|
|
<b>IAdapterManager manager = Platform.getAdapterManager();
|
|
samples.model.DeveloperAdapterFactory factory = new samples.model.DeveloperAdapterFactory();
|
|
manager.registerAdapters(factory, samples.model.TeamResource.class);
|
|
manager.registerAdapters(factory, samples.model.DeveloperResource.class);</b>
|
|
}
|
|
</samp></pre>
|
|
</body>
|
|
</html>
|