Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Activity id and Pattern
Activity id and Pattern [message #333699] Wed, 24 December 2008 05:29 Go to next message
Anand Kumar Gupta is currently offline Anand Kumar GuptaFriend
Messages: 14
Registered: July 2009
Junior Member
How would I get Activity id and Pattern for items under preference page?
I got for some like Color and Fonts, but I am not getting for others.
Re: Activity id and Pattern [message #333702 is a reply to message #333699] Wed, 24 December 2008 09:44 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Anand,

I would look through the plugin.xmls for extensions that contribute
preferences.


Anand Kumar Gupta wrote:
> How would I get Activity id and Pattern for items under preference page?
> I got for some like Color and Fonts, but I am not getting for others.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Activity id and Pattern [message #333704 is a reply to message #333702] Wed, 24 December 2008 10:20 Go to previous messageGo to next message
Anand Kumar Gupta is currently offline Anand Kumar GuptaFriend
Messages: 14
Registered: July 2009
Junior Member
I am doing the same but I am not getting for "Text Editors" , "Search",
"File Associations", "Install/Update"
Re: Activity id and Pattern [message #333707 is a reply to message #333704] Wed, 24 December 2008 12:59 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Anand,

This approach works well for me (where I assume the strings are
externalized in the plugin.properties)...

for i in $(ls plugins/*.jar); do unzip -o $i plugin.properties; grep
Text plugin.properties && echo $i; done 2>&1 | tee log

Archive: plugins/org.eclipse.ui.editors_3.5.0.v20081209-0100.jar
inflating: plugin.properties
pluginName= Default Text Editor
NewUntitledTextFile.label= Untitled Text File
NewUntitledTextFile.description= Creates an empty untitled text file
Editors.DefaultTextEditor= Text Editor
PreferencePages.GeneralTextEditors= Text Editors
BookmarkRulerAction.label= Text Editor Bookmark Ruler Action
SelectRulerAction.label= Text Editor Ruler Single-Click
TextEditorHyperlinkTarget= Textual Editors


Anand Kumar Gupta wrote:
> I am doing the same but I am not getting for "Text Editors" ,
> "Search", "File Associations", "Install/Update"
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Activity id and Pattern [message #333736 is a reply to message #333699] Tue, 30 December 2008 14:06 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Anand Kumar Gupta wrote:
> How would I get Activity id and Pattern for items under preference page?
> I got for some like Color and Fonts, but I am not getting for others.

To help you track down specific ones, you can open the preference page
and use Plug-in Spy (ALT+SHIFT+F1). It will display the class used and
the plugin it came from (although not the ID) but that should narrow it
down quite a bit.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:Perform project updates during/post plugin update
Next Topic:Opening of editors on file extensions
Goto Forum:
  


Current Time: Thu Dec 26 10:46:23 GMT 2024

Powered by FUDForum. Page generated in 0.03592 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top