blob: d20bef7d6a593b7a005dac7d616f0688c663797f [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]">
<title>
Override methods
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>
Override methods
</h1>
<p>
This dialog lets you define methods to override.
</p>
<p>
Use <strong>Override/Implement Methods</strong> from the <a href="ref-menu-source.htm">Source menu</a> or the context menu on a selected type or on a text selection in a type.
</p>
<p>
The dialog presents all methods that can be overridden from supertypes or implemented from interfaces. Abstract methods or unimplemented methods are selected by default.
</p>
<p>
The tree view groups methods by the type declaring the method. If more than one type in the hierarchy declare the same method, the method is only shown once, grouped to the
first type in the list of supertypes that implements or defines this method.
</p>
<p>
The flat view shows only methods, sorted alphabetically.
</p>
<p>
When pressing&nbsp;<strong>OK</strong>, method stubs for all selected methods are created.
</p>
<table border="1" cellspacing="0" cellpadding="5" width="100%">
<tr>
<th>
<p>
Option
</p>
</th>
<th>
<p>
Description
</p>
</th>
<th>
<p>
Default
</p>
</th>
</tr>
<tr>
<td valign="top">
<p>
Select methods to override or implement
</p>
</td>
<td valign="top">
Select methods to override or implement
</td>
<td valign="top">
Abstract methods from superclasses and unimplemented methods from interfaces are selected
</td>
</tr>
<tr>
<td valign="top">
<p>
Group methods by types
</p>
</td>
<td valign="top">
<p>
Shows methods grouped by a list of the super types in which they are declared.&nbsp;
</p>
</td>
<td valign="top">
<p>
selected&nbsp;
</p>
</td>
</tr>
<tr>
<td valign="top">
<p>
Select All
</p>
</td>
<td valign="top">
<p>
Select all methods
</p>
</td>
<td valign="top">
<p>n/a</p>
</td>
</tr>
<tr>
<td valign="top">
<p>
Deselect All
</p>
</td>
<td valign="top">
<p>
Deselect all methods
</p>
</td>
<td valign="top">
<p>n/a</p>
</td>
</tr>
</table>
<p>
You can control whether Javadoc comments are added to the created methods
with the <strong>Generate method comments</strong> option at the bottom of the dialog.</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference" border="0" >
</p>
<p>
<a href="../reference/ref-menu-source.htm">Source actions</a>
</p>
</body>
</html>