Examples of runAction()


Examples of io.emmet.Emmet.runAction()

      try {
        String abbr = editor.promptWrap("Enter abbreviation:");
       
        if (abbr != null && !abbr.equals("")) {
          // expand abbreviation with current profile
          return js.runAction(editor, "wrap_with_abbreviation",
              abbr, editor.getSyntax(), profileName);
        }
       
      } catch (Exception e) {
        e.printStackTrace();
View Full Code Here

Examples of io.emmet.Emmet.runAction()

      try {
        // force tab key handler installation
        TabKeyHandler.install(editor.getEditor());
       
        // expand abbreviation with current profile
        return js.runAction(editor, "expand_abbreviation", editor.getSyntax(), profileName);
      } catch (Exception e) {
        e.printStackTrace();
      }
     
    }
View Full Code Here

Examples of io.emmet.Emmet.runAction()

      try {
        // force tab key handler installation
        TabKeyHandler.install(editor.getEditor());
       
        // expand abbreviation with current profile
        return js.runAction(editor, "expand_abbreviation", editor.getSyntax());
      } catch (Exception e) {
        e.printStackTrace();
      }
     
    }
View Full Code Here

Examples of org.locationtech.udig.ui.action.NewObjectDelegate.runAction()

        for( IConfigurationElement element : list ) {
            final NewObjectDelegate item = new NewObjectDelegate(element, window);
            Action newAction = new Action(){
                @Override
                public void runWithEvent( org.eclipse.swt.widgets.Event event ) {
                    item.runAction();
                }
            };
            newAction.setText(item.text);
            newAction.setImageDescriptor(item.icon);
            newMenu.appendToGroup(Constants.NEW_START, newAction);
View Full Code Here

Examples of org.locationtech.udig.ui.action.NewObjectDelegate.runAction()

        for( IConfigurationElement element : list ) {
            final NewObjectDelegate item = new NewObjectDelegate(element, window);
            Action newAction = new Action(){
                @Override
                public void runWithEvent( org.eclipse.swt.widgets.Event event ) {
                    item.runAction();
                }
            };
            newAction.setText(item.text);
            newAction.setImageDescriptor(item.icon);
            newMenu.appendToGroup(Constants.NEW_START, newAction);
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.