Package org.cfeclipse.cfml.dialogs

Examples of org.cfeclipse.cfml.dialogs.SetMappingDialog


  /**
   * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
   */
  public void run(IAction action) {
    // Create a mapping dialog
    SetMappingDialog dialog = new SetMappingDialog(this.shell, this.resource);

    if(dialog.open() == IDialogConstants.OK_ID) {
      logger.trace("Setting mapping (" + dialog.getMappingName() + ") on resource (" + resource.getName() + ")");
      MappingManager.setMapping(this.resource, dialog.getMappingName());
      logger.trace("Mapping for " + resource.getName() + ": " + MappingManager.getMapping(resource));
    }
  }
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.dialogs.SetMappingDialog

Copyright © 2018 www.massapicom. 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.