If the object type is one that is defined in your Windchill environment such that you can create an instance of that type, you can include supportedTypes or nonSupportedTypes tags in your action definition:
<action name="myAction">
<description>My New Action</description>
<command url="netmarkets/jsp/part/myAction.jsp" />
<supportedTypes>
<type value="WCTYPE|wt.part.WTPart|com.company.www.PartOne"/>
</supportedTypes>
<nonSupportedTypes>
<type value="WCTYPE|wt.part.WTPart|com.company.www.PartTwo"/>
<type value="WCTYPE|wt.part.WTPart|com.company.www.PartThree"/>
</nonSupportedTypes>
</action>
If you use supportedTypes/nonSupportedTypes tags, you have to list the types individually, not the parent.