Changes between Version 19 and Version 20 of ImplementAction


Ignore:
Timestamp:
Dec 1, 2008, 9:09:02 AM (13 years ago)
Author:
Fredrik Levander
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ImplementAction

    v19 v20  
    2525== Implement `ContextEnabled` Interface ==
    2626
    27 If you need your action to be accessible from the gui you have to specify where a link should appear. You do this by implementing the interface `ContextEnabled`. Currently there are two context classes you can use, [source:trunk/client/servlet/src/org/proteios/MenuContext.java MenuContext] and [source:trunk/client/servlet/src/org/proteios/FileContext.java FileContext]. Here's an example that registers this action to show up as an extension link when browsing file.
     27If you need your action to be accessible from the gui you have to specify where a link should appear. You do this by implementing the interface `ContextEnabled`. Currently there are three context classes you can use, [source:trunk/client/servlet/src/org/proteios/MenuContext.java MenuContext], [source:trunk/client/servlet/src/org/proteios/TableToolbarContext.java TableToolbarContext] and [source:trunk/client/servlet/src/org/proteios/FileContext.java FileContext]. Here's an example that registers this action to show up as an extension link when browsing files.
    2828
    2929{{{