|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.application.notation.NotationProviderFactory
Provides a factory for handling notation providers.
Field Summary | |
private NotationProvider2 |
defaultProvider
|
private static Logger |
LOG
Logger. |
private List |
providers
|
private static NotationProviderFactory |
SINGLETON
The singleton representing this class. |
Constructor Summary | |
private |
NotationProviderFactory()
Constructor to disallow other to create this. |
Method Summary | |
void |
finalize()
Remove the notation change listener. |
private void |
fireEvent(int eventType,
NotationProvider2 provider)
Send an event to the ArgoEventPump . |
NotationProvider2 |
getDefaultProvider()
|
static NotationProviderFactory |
getInstance()
|
List |
getNotations()
|
NotationProvider2 |
getProvider(NotationName nn)
|
List |
getProviders()
|
void |
moduleDisabled(ArgoModuleEvent event)
Invoked when a module has been disabled. |
void |
moduleEnabled(ArgoModuleEvent event)
Invoked when a module has been enabled. |
void |
moduleLoaded(ArgoModuleEvent event)
Invoked when a module has been loaded. |
void |
moduleUnloaded(ArgoModuleEvent event)
Invoked when a module has been unloaded. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final Logger LOG
private static final NotationProviderFactory SINGLETON
private List providers
private NotationProvider2 defaultProvider
Constructor Detail |
private NotationProviderFactory()
Method Detail |
public static NotationProviderFactory getInstance()
public void finalize() throws Throwable
finalize
should never happen, but play it safe.
Throwable
- if something goes wrong in the super finalize.public NotationProvider2 getProvider(NotationName nn)
nn
- the name of the notation
public List getProviders()
public List getNotations()
public NotationProvider2 getDefaultProvider()
public void moduleLoaded(ArgoModuleEvent event)
ArgoModuleEventListener
moduleLoaded
in interface ArgoModuleEventListener
event
- the eventArgoModuleEventListener.moduleLoaded(org.argouml.application.events.ArgoModuleEvent)
public void moduleUnloaded(ArgoModuleEvent event)
ArgoModuleEventListener
moduleUnloaded
in interface ArgoModuleEventListener
event
- the eventArgoModuleEventListener.moduleUnloaded(org.argouml.application.events.ArgoModuleEvent)
public void moduleEnabled(ArgoModuleEvent event)
ArgoModuleEventListener
moduleEnabled
in interface ArgoModuleEventListener
event
- the eventArgoModuleEventListener.moduleEnabled(org.argouml.application.events.ArgoModuleEvent)
public void moduleDisabled(ArgoModuleEvent event)
ArgoModuleEventListener
moduleDisabled
in interface ArgoModuleEventListener
event
- the eventArgoModuleEventListener.moduleDisabled(org.argouml.application.events.ArgoModuleEvent)
private void fireEvent(int eventType, NotationProvider2 provider)
ArgoEventPump
.
eventType
- The event type.provider
- The source of the event.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |