It also shows the context menu that you see when transforming a class diagram.
它还显示了当您转换类图时,看到的环境菜单。
That class detects the change in partner selection for the right-click menu and specifies how many people are selected.
这个类检测针对右键菜单而进行的合作伙伴选择情况的变化,并确定选择了多少个人。
If you want to see the full signature, right-click on the class, and select the options that Figure 13 shows from the context menu.
如果您想看到完整的标记,在类上单击右键,并在环境菜单中选择图13中展示的选项。
You can add new fields and operations to a visualized C++ class by using either the pop-up menu (Figure 23) or the pop-up action bar (Figure 24).
您可以通过使用这个弹出式菜单(图23)或者弹出式操作栏(图24),为可视化 C++类添加新的域和操作。
Simply bring up the pop-up context menu by right-clicking anywhere in the class editor area.
在类编辑器中的任何地方单击右键,弹出上下文菜单。
It isn't until the menu choice is actually selected that the corresponding handler class is created, thereby deferring the activation of the plug-in containing the handler class.
直到菜单选项真正被选择时,相应的处理程序类才会被创建,因而延迟了包含此处理器类的插件的激活。
The final class in the Misc package addresses the Dock Menu, a component that only exists in Macs and has no parallel in Windows or Linux systems.
Misc包中的最后一个类解决了停靠菜单(Dock Menu),这个组件只在Macs 中存在,在Windows或Linux系统中没有对应的组件。
The Visualize menu, shown in Figure 6, allows you to add the selected element(s) to a new Sequence Diagram, Topic Diagram, or Class Diagram.
Visualize菜单,如图6所示,允许您将所选的元素添加到新的序列图、Topic 图,或类图中。
Select the com.ibm.lotusphere.rcp package in the package Explorer, then right-click and choose New - Class from the menu.
在PackageExplorer中选择com .ibm . lotusphere . rcp包,右键单击它,然后从菜单中选择new-Class。
Select the New \ Class option from the pop-up menu.
从弹出菜单中选择new \Class选项。
If you would like to change the relationship name or the navigability of one of the relationship roles you can select one of the EJB class shapes and select Open from the context menu.
如果您想改变角色的名称或者一个关联角色的导向,那么您应当选择一个ejb类的形式并且从context菜单中选择open。
Note that you added an Action and also mentioned a class that would be invoked when a user clicks the menu item.
请注意,您添加了一项Action,并且还提供了当用户单击该菜单项时应该调用的类。
What differentiates the Eclipse extension and this particular implementation is that Eclipse's extension creates a delegate class to act as a proxy for the menu choice.
Eclipse扩展与这个特殊实现的区别是,Eclipse的扩展创建一个委派类作为菜单选项的代理。
Relationships between elements can be shown or hidden by using the pop-up menu of the Class diagram. For example, to see only the association relationship between elements displayed on the diagram
元素之间的关系可以通过使用Class图中的弹出式菜单来显示或者隐藏。
Bring up the context menu by selecting and right clicking on the Car class diagram on the right panel.
通过选择并右键点击右边面板中类图Car来打开内容菜单。
We add the table and two menu buttons to the canvas container in the createChildren function (Listing 11), which overrides the same function in the base class.
我们在createchildren函数中将表和两个菜单按钮添加到画布容器中(清单11),该函数将覆盖基类中的相同函数。
With the original version of the Motorcycle class, use the Source menu to generate a few constructors, like those shown in Listing 6.
在 Motorcycle类的原始版本中,使用Source菜单生成几个构造函数,如清单6 中所示。
The class that defines the behavior of the menu action implements the IActionDelegate interface.
定义菜单活动行为的类实现IActionDelegate接口。
Right-click the Employee class and use the pop-up menu to add attributes.
右击Employee类,并使用弹出菜单添加属性。
This specifies the name of the class that will handle the menu choice selection, a class that must implement the IWorkbenchWindowActionDelegate interface.
这指定了将来处理菜单选项选择的类的名字,这个类必须实现IWorkbenchWindowActionDelegate接口。
Next, you create a class that is called when a Sametime user right-clicks a partner's name and selects the partner Lookup item from the context menu.
接下来,将创建一个类,当Sametime用户右击合作伙伴的名称并从上下文菜单中选择Partnerlookup项时,将调用该类。
The pop-up menu is implemented in the XMRunner class.
弹出菜单在 XMRunner类中实现。
When the menu name you defined in the label of your extension point is called, the public void run (IAction arg0) method of the object extending the LiveNameActionDelegate class is invoked.
在调用扩展点的标签中定义的菜单名时,将调用扩展personaction类的对象的publicvoid runWithEvent (Eventarg0)方法。
Generate the tree structure of the abstract class diagram by selecting the Explore in Browse diagram from the context menu.
通过选择内容菜单中Explorein BrowseDiagram选项来产生抽象类图的树状结构。
The DockMenu class lets a user attach a menu to the Dock menu in Mac applications Here's the example of how to use the DockMenu class.
DockMenu类允许用户把菜单附着到Mac应用程序的DockMenu中。
Namely, you identify that the com.devworks.example.map.MapLookupDelegate class is called when the Google Map menu item is selected.
也就是说,您确定出,在GoogleMap菜单项被选中时调用 com.devworks.example.map.MapLookup类。
The com.devworks.example.map.DirectionsLookupDelegate class is called when the Google map Directions context menu item is selected for a Sametime partner.
为Sametime合作伙伴选中了GooglemapDirections上下文菜单项时,com . devworks . example . map .directionslookup类即被调用。
Generate RoseScripts (accessible via the Tools menu) for automated tasks such as generating class skeletons, checking model-naming conventions, and testing model integrity and validity.
为自动化的任务比如产生类的骨架、检查模型的命名习惯和测试模型的完整性和有效性生成rosescripts(可以通过访问Tools菜单得到)。
Sure, you could move the taskbar, but it felt like an afterthought – the gradients would be wrong, the Start menu had a few idiosyncrasies, and you’d feel like something of a second-class citizen.
你可以把任务栏竖起来,但这看上去像是后知后觉的设计——渐变色调是错的,开始菜单有些怪异,你会觉得像二等公民。
Sure, you could move the taskbar, but it felt like an afterthought – the gradients would be wrong, the Start menu had a few idiosyncrasies, and you’d feel like something of a second-class citizen.
你可以把任务栏竖起来,但这看上去像是后知后觉的设计——渐变色调是错的,开始菜单有些怪异,你会觉得像二等公民。
应用推荐