@Override
 protected void configureAction(Action action) {
   action.setText(Messages.HideReturnTypesAction_title);
   action.setToolTipText(Messages.HideReturnTypesAction_tooltip);
   action.setDescription(Messages.HideReturnTypesAction_description);
   action.setImageDescriptor(Activator.getImageDescriptor("icons/filter_rule.gif"));
   action.setDisabledImageDescriptor(Activator.getImageDescriptor("icons/filter_rule.gif"));
 }
 @Override
 protected void configureAction(Action action) {
   action.setText(Messages.FilterTerminalRulesContribution_title);
   action.setDescription(Messages.FilterTerminalRulesContribution_description);
   action.setToolTipText(Messages.FilterTerminalRulesContribution_tooltip);
   action.setImageDescriptor(Activator.getImageDescriptor("icons/filter_rule.gif"));
   action.setDisabledImageDescriptor(Activator.getImageDescriptor("icons/filter_rule.gif"));
 }
예제 #3
0
 /** Constructs a new wizard */
 @Inject
 public NewXtextProjectWizard(IProjectCreator projectCreator) {
   super(projectCreator);
   setWindowTitle(Messages.NewXtextProjectWizard_WindowTitle);
   setDefaultPageImageDescriptor(
       Activator.getImageDescriptor("icons/wizban/newxprj_wiz.gif")); // $NON-NLS-1$
 }