下面列出了怎么用org.eclipse.ui.views.properties.tabbed.ISection的API类实例代码及写法,或者点击链接到github查看源代码。
/**
* Get the section implementation that provides the list of tabs. In our
* implementation, all the sections provide the list of tabs, so we select
* the first section from the tab descriptor.
*
* @return the section.
*/
private AbstractOverridableTabListPropertySection getOverridableTabListPropertySection() {
TabContents tab = tabbedPropertySheetPage.getCurrentTab();
Assert.isNotNull(tab);
if (tab != null) {
ISection section = tab.getSectionAtIndex(0);
if (section instanceof AbstractOverridableTabListPropertySection) {
return (AbstractOverridableTabListPropertySection) section;
}
}
return null;
}
public UpdateMessageEventWizard(MainProcess diagram, ThrowMessageEvent element, TransactionalEditingDomain editingDomain,
ISection callingSection) {
this.editingDomain = editingDomain;
this.element = element;
this.callingSection = callingSection;
setWindowTitle(Messages.messageEventAddWizardPageTitle);
this.diagram = diagram;
}
public DeleteMessageCommand(TransactionalEditingDomain domain, ThrowMessageEvent element , List<Message> eventsToDelete, ISection callingSection){
super(domain, "Delete Events", getWorkspaceFiles(element));
this.element = element ;
this.eventsToDelete = eventsToDelete ;
this.callingSection = callingSection;
}