Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » how do i control the viewContribuiton action visibilty. Please help
how do i control the viewContribuiton action visibilty. Please help [message #184599] Fri, 15 December 2006 11:59
Eclipse UserFriend
Originally posted by: contact_kulbir.yahoo.co.in

HI Friends,
im using eclipse 3.2.i have conrtibued an action in the package explorer
view but I am facing difficulty to control the visibilty of the action.
here is the code snippest.

<viewContribution
id="com.my.example.myAction"
targetID="org.eclipse.jdt.ui.PackageExplorer">
<action
class="com.my.example.myAction"
icon="icons/action.gif"
id="com.my.example.myActionID"
label="Action"
menubarPath="general/generalGroup"
state="true"
style="push"
toolbarPath="general/generalGroup"
enablesFor="1">
<visibility>

<objectState name="MethodActionFilter" value="isAbstract"/>

</visibility>
</action>

its showing the warning that visibilty is not a legal child of aciton but
its working for enablement. i will be appreciate if any body help me to
solve this issue.

thanks and regards
Singh
Previous Topic:Help getting Eclipse running on Solaris
Next Topic:Read Me Trim (Bottom)
Goto Forum:
  


Current Time: Fri Apr 26 12:46:10 GMT 2024

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

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

Back to the top