Examples of MPromptDialog


Examples of net.jumperz.app.MMonjaDB.eclipse.dialog.MPromptDialog

  {
  Map data = ( Map )selected[ 0 ].getData();
  if( isFolderItem( selected[ 0 ] ) )
    {
    Set dataSet = new HashSet();
    MPromptDialog dialog = new MPromptDialog( shell, dataSet, "Rename Folder", "Name :", ( String )data.get( "name" ) );
    dialog.open();
    if( dataSet.size() > 0 )
      {
      data.put( "name", dataSet.iterator().next() );
      drawItem( selected[ 0 ] );
      }
View Full Code Here

Examples of net.jumperz.app.MMonjaDB.eclipse.dialog.MPromptDialog

}
//--------------------------------------------------------------------------------
private void onNewFolder()
{
Set dataSet = new HashSet();
MPromptDialog dialog = new MPromptDialog( shell, dataSet, "New Folder", "Name :" );
dialog.open();

if( dataSet.size() > 0 )
  {
  TreeItem newItem = addTreeItem();
  Map folderData = new HashMap();
View Full Code Here

Examples of net.jumperz.app.MMonjaDB.eclipse.dialog.MPromptDialog

  }
else
  {
  title = "Authorization Required for DB: " + MDataManager.getInstance().getDB().getName();
  }
MPromptDialog dialog = new MPromptDialog( shell, dataSet, title, "username :" );
dialog.open();

if( dataSet.size() > 0 )
  {
  username = dataSet.iterator().next() + "";
  }
else
  {
  return;
  }
}

{
Set dataSet = new HashSet();
MPasswordDialog dialog = new MPasswordDialog( shell, title, dataSet );
dialog.open();
if( dataSet.size() > 0 )
  {
  passwd = dataSet.iterator().next() + "";
  }
else
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.