|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.brains2b.coffee.plugin.MimeHandler
public class MimeHandler
TicketHandler for processing events directed at a plugin
by the CoffeeEvent.USE
Handler will detect the plugin to handle this specific request
on the basis of the content of the CoffeeEvent.getArgument()
Constructor Summary | |
---|---|
MimeHandler(TargetContainer manager)
Constructor |
Method Summary | |
---|---|
void |
addProgressMonitor(ProgressMonitor m)
|
void |
close()
|
int[] |
getHandledEvents()
|
NNTPMessage |
handleEvent(CoffeeEvent event)
|
boolean |
isAvailable()
|
void |
open()
|
void |
registerPlugin(CoffeeExchangeControl control)
register a new plugin with a no-visual components |
void |
registerPlugin(CoffeeExchangeView view)
register a new plugin with a visual component |
void |
removeProgressMonitor(ProgressMonitor m)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MimeHandler(TargetContainer manager)
manager
- CfFrame, the place where possible
plugins of type CoffeeExchangeView
will be shownMethod Detail |
---|
public void addProgressMonitor(ProgressMonitor m)
addProgressMonitor
in interface TicketHandler
public void close() throws CoffeeSpill
close
in interface TicketHandler
CoffeeSpill
public int[] getHandledEvents()
getHandledEvents
in interface TicketHandler
public NNTPMessage handleEvent(CoffeeEvent event) throws CoffeeSpill
handleEvent
in interface TicketHandler
CoffeeSpill
public boolean isAvailable()
isAvailable
in interface TicketHandler
public void open() throws CoffeeSpill
open
in interface TicketHandler
CoffeeSpill
public void removeProgressMonitor(ProgressMonitor m)
removeProgressMonitor
in interface TicketHandler
public void registerPlugin(CoffeeExchangeView view)
view
- CoffeeExchangeView
public void registerPlugin(CoffeeExchangeControl control)
control
- CoffeeExchangeControl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |