Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7068411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:19:14+00:00 2026-05-28T05:19:14+00:00

Question: Regarding Eclipse plug-in development, what is the distinction between actions bars vs. menus,

  • 0

Question: Regarding Eclipse plug-in development, what is the distinction between actions bars vs. menus, toolbars… when adding actions (in particular, to a Java Editor)?

I would like to add actions to a Java editor in Eclipse. I’m modeling the action after the ‘Change Method Signature’ action found in org.eclipse.jdt.ui . At first, I thought I would simply do the usual org.eclipse.ui.menus to add a menu item and that would be sufficient for my purposes. After perusing org.eclipse.jdt.ui.actions.RefactorActionGroup , I see that that the RefactorActionGroup class makes a point of placing the action in Actions Bars at method

public void fillActionBars(IActionBars)

The only discussion I found on the subject is in a 2006 article referencing Eclipse 3.1:

In Eclipse jargon, “action bar” is a catch-all term for menus,
toolbars, and status bars. The ActionBar Advisor handles creating
Actions within these locations. A plug-in can also contribute actions
dynamically with its plugin.xml file. See Listing 7 for the
implementation provided by the plug-in wizard and Table 7 for the
methods.

I’m confused though. Why does a code sample like org.eclipse.jdt.ui.actions.RefactorActionGroup deal with action bars if you’re going to explicitly add the actions as menus in any event? What is the relationship between Action Bars and other means of adding actions….

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:19:14+00:00Added an answer on May 28, 2026 at 5:19 am

    RefactorActionGroup is a legacy class (been around since 2.0), org.eclipse.ui.menus was added much later. You should stick to menus extension point.

    The usage of Action Groups is direct – each editor knows which actions it needs and asks corresponding action groups to create those. Whereas command and menu contributions through org.eclipse.ui.menus extension point are dynamic – original editor/view doesn’t need to know anything about additions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A question regarding a DB development project. The database already exist and is rather
My issue is regarding PhoneGap and Android development using the Eclipse Applaud plugin. I
I have a question regarding the use of Eclipse and software methodology. I've a
Simple question regarding data persistance between application sessions. My application allows the user to
I have a question regarding the development of liferay portlets using the liferay plugin
After reading this question regarding Linux: Open Terminal From Eclipse I have the same
I want to ask you a simple question regarding my development environment configuration for
Question regarding how to setup dbase relationships (newbie, this may be trivial) Followed the
Question regarding GtkBuilder. When we unref builder pointer does it destroys all the screens/widgets
Quick question regarding CSS and the browser. I tried searching SO and found some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.