cz.cuni.pogamut.posh.explorer
Class PGSupport

Package class diagram package PGSupport
java.lang.Object
  extended by cz.cuni.pogamut.posh.explorer.PGSupport

public class PGSupport
extends Object

Static class that provides some supporting functions (like dialogs) used in this module.

Author:
Honza

Constructor Summary
PGSupport()
           
 
Method Summary
static boolean confirm(String text)
          Display confirmation message box with message
static String getIdentifierFromDialog(String purposeTitle)
          Create a dialog asking for input of identifier and return identifier or null
static void message(String text)
          Display message box with message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PGSupport

public PGSupport()
Method Detail

getIdentifierFromDialog

public static String getIdentifierFromDialog(String purposeTitle)
Create a dialog asking for input of identifier and return identifier or null

Parameters:
purposeTitle - What is purpose of the indientifies
Returns:
identifier when user input is OK or null if it is not.

message

public static void message(String text)
Display message box with message

Parameters:
text - message that will be displayed

confirm

public static boolean confirm(String text)
Display confirmation message box with message

Parameters:
text - message that will be displayed
Returns:
True if user confirmed.


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.