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 6906011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:15:16+00:00 2026-05-27T08:15:16+00:00

I am developing a plug-in which is basically create a new project, project contains

  • 0

I am developing a plug-in which is basically create a new project, project contains more than one folder, and the folder contains our own customized editors. Now I dont want to allow the user to rename of the project from anywhere. I can see the rename option in file menu, context menu of project explorer, context menu of package explorer, context menu of navigator. Is it possible to disable/customize the rename option globally. I have tried to use global action handler for rename action,which is basically doing my own job whenever the rename action occurs. But since I want to block/disable the rename option at the time plug-in activator get started, I am able get active view site on the activator class, which doesn’t seems to help me because of the active view might be anyother than above mentioned view at sometimes. Hence I tried to using ‘Rename Participant’ through ltk’s renameparticipant extension and I wrote my own class which extending RenameParticipant, but the class never get initiated even I have given the correct class name in plug-in.xml file.

Since our product is plug-in

Could anyone please advise me that how should I proceed further? I hope that someone has already walk on this path to block the rename option globally.

  • 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-27T08:15:16+00:00Added an answer on May 27, 2026 at 8:15 am

    You can specify your own handler to global rename (id=”org.eclipse.ui.edit.rename”) and Java Rename element (id=”org.eclipse.jdt.ui.edit.text.java.rename.element”) commands using Handlers extension point. However, it is not possible to disable the context menu item (Refactor > Rename…) in Package Explorer because it is hard-coded.

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

Sidebar

Related Questions

When developing a plug-in to application, using the application API which doesn't run independently
I'm developing an Eclipse plug-in and I have a problem which is reproduced here:
I am developing several eclipse plug-ins which I bundle as a single eclipse feature.
I am developing WIX based instller for our product which is having a base
I'm developing a plug-in in Eclipse and I want to show a view. I'm
I'm developing an Eclipse plug-in, based on a bunch of core Eclipse plug-ins like
I'm developing an Eclipse plug-in where upon pressing a button, the plug-in takes the
I'm developing an Eclipse plug-in and I'd like to insert code automatically... sort of
I am developing an application that can be extended using plug-ins. The plug-ins will
I am developing a plug-in in Eclipse RCP and I have to read and

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.