Package com.nomagic.magicdraw.core
Class GUILog.DefaultURLActionHandler
java.lang.Object
com.nomagic.magicdraw.core.GUILog.DefaultURLActionHandler
- All Implemented Interfaces:
 GUILog.URLActionHandler
- Enclosing class:
 - GUILog
 
@OpenApiAll
public static class GUILog.DefaultURLActionHandler
extends Object
implements GUILog.URLActionHandler
Default implementation for URLActionHandler
- 
Field Summary
Fields inherited from interface com.nomagic.magicdraw.core.GUILog.URLActionHandler
ACTION_URL_PROTOCOL - 
Constructor Summary
ConstructorsConstructorDescriptionDefaultURLActionHandler(NMAction action) Constructor for a handler with a single actionDefaultURLActionHandler(NMAction action, boolean closeWindow) Constructor for a handler with a single actionDefaultURLActionHandler(Collection<? extends NMAction> actions) Constructor for a handler with many actionsDefaultURLActionHandler(Collection<? extends NMAction> actions, boolean closeWindow) Constructor for a handler with many actions - 
Method Summary
 
- 
Constructor Details
- 
DefaultURLActionHandler
Constructor for a handler with a single action- Parameters:
 action- action
 - 
DefaultURLActionHandler
Constructor for a handler with a single action- Parameters:
 action- actioncloseWindow- close window in which hyperlink was activated
 - 
DefaultURLActionHandler
Constructor for a handler with many actions- Parameters:
 actions- actions
 - 
DefaultURLActionHandler
public DefaultURLActionHandler(@Nonnull Collection<? extends NMAction> actions, boolean closeWindow) Constructor for a handler with many actions- Parameters:
 actions- actionscloseWindow- close window in which hyperlink was activated
 
 - 
 - 
Method Details
- 
openURL
Description copied from interface:GUILog.URLActionHandlerOpens given url.- Specified by:
 openURLin interfaceGUILog.URLActionHandler- Parameters:
 url- urlevent- event- Returns:
 - true if url was handled, false if not
 
 
 -