Revision a1ab28ed
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/SetPublishFlagForSubtreeHandlerE4.java | ||
---|---|---|
9 | 9 |
*/ |
10 | 10 |
package eu.etaxonomy.taxeditor.navigation.navigator.e4.handler; |
11 | 11 |
|
12 |
import java.util.UUID; |
|
13 |
|
|
12 | 14 |
import javax.inject.Named; |
13 | 15 |
|
14 | 16 |
import org.eclipse.core.commands.operations.AbstractOperation; |
15 | 17 |
import org.eclipse.core.runtime.IStatus; |
16 | 18 |
import org.eclipse.core.runtime.Status; |
17 | 19 |
import org.eclipse.e4.core.di.annotations.CanExecute; |
20 |
import org.eclipse.e4.ui.model.application.MApplication; |
|
18 | 21 |
import org.eclipse.e4.ui.model.application.ui.basic.MPart; |
19 | 22 |
import org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem; |
20 | 23 |
import org.eclipse.e4.ui.services.IServiceConstants; |
24 |
import org.eclipse.e4.ui.workbench.modeling.EPartService; |
|
21 | 25 |
import org.eclipse.jface.viewers.IStructuredSelection; |
22 | 26 |
import org.eclipse.jface.viewers.TreeSelection; |
23 | 27 |
import org.eclipse.jface.window.Window; |
... | ... | |
118 | 122 |
new SetPublishForSubtreeOperation(getTrigger(), |
119 | 123 |
false, |
120 | 124 |
taxonNode.getUuid(), |
125 |
partService, |
|
126 |
activePart, |
|
127 |
application, |
|
121 | 128 |
configurator); |
122 | 129 |
|
123 | 130 |
return operation; |
Also available in: Unified diff
fix #7065: update the nameEditors also after update publish flag