org.eclipse.ui.views.properties.tabbed.ISection Java Examples

The following examples show how to use org.eclipse.ui.views.properties.tabbed.ISection. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: OverridableTabListContentProvider.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #2
Source File: UpdateMessageEventWizard.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
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;
}
 
Example #3
Source File: DeleteMessageCommand.java    From bonita-studio with GNU General Public License v2.0 4 votes vote down vote up
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;
}