[as2api-dev] Re: [osflash] [ANN] as2api 0.4 released
iiley
iiley.chen at gmail.com
Wed Feb 15 12:02:39 UTC 2006
It's very clear now, thanks very much, David. :)
2006/2/15, David Holroyd <osflash at badgers-in-foil.co.uk>:
>
> Hi again,
>
> On Thu, Feb 09, 2006 at 09:30:15PM +0800, iiley wrote:
> > as2api seem has problem to generate link to this:
> >
> > /**
> > * @see FocusManager#setDefaultFocusTraversalPolicy()
> > * @see FocusManager#getDefaultFocusTraversalPolicy()
> > */
> >
> > But @Container#someMethod() generated fined. (FocusManager is at the
> > same package)
>
> I grabbed the source from svn, and the significant parts of the file in
> question are:
>
>
> ----8<----
> ...
>
> import org.aswing.Component;
> import org.aswing.Container;
> import org.aswing.JWindow;
>
> /**
> ...
> * @see Container#isFocusTraversalPolicyProvider()
> * @see FocusManager#setDefaultFocusTraversalPolicy()
> * @see FocusManager#getDefaultFocusTraversalPolicy()
> ...
> */
> interface org.aswing.FocusTraversalPolicy {
> ...
> ---->8----
>
> The generated documentation doesn't include the expected links to
> FocusManager methods, while the links to methods of Container are fine.
> This is because (contradicting my earlier statement ;) types in the same
> package as the current type are *not* automatically in scope.
>
> i.e., in order for as2api to know what type 'FocusManager' refers to in
> the comment, you need to either 'import' it, or use the fully-qualified
> name 'org.aswing.FocusManager'.
>
> (I would suggest you go with the latter option.)
>
>
> hope that helps,
> dave
>
> --
> http://david.holroyd.me.uk/
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
--
iiley
AsWing http://www.aswing.org
Blog http://spaces.msn.com/members/iiley/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.badgers-in-foil.co.uk/pipermail/as2api-dev/attachments/20060215/4f669cd5/attachment.html
More information about the as2api-dev
mailing list