Commit 911f9d1a authored by Romain Bioteau's avatar Romain Bioteau

remove comments

parent 7dee2efc
......@@ -25,7 +25,6 @@ import org.eclipse.core.commands.ExecutionException;
public class OpenIntroCommandHandler extends AbstractHandler {
public Object execute(ExecutionEvent event) throws ExecutionException {
//PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().closeAllEditors(true);
PlatformUtil.openIntro();
return null;
}
......
......@@ -113,10 +113,7 @@ public class DiagramFileStore extends EMFFileStore implements IDeployable, IRena
return (MainProcess) super.getContent();
}
/*
* (non-Javadoc)
* @see org.bonitasoft.studio.common.repository.filestore.EMFFileStore#getDisplayName()
*/
@Override
public String getDisplayName() {
final String displayName = getResource().getLocation().removeFileExtension().lastSegment();
......@@ -293,15 +290,6 @@ public class DiagramFileStore extends EMFFileStore implements IDeployable, IRena
}
}
protected IWorkbenchPage closeOpenedEditorWithoutSaving() {
final IWorkbenchPage activePage = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
final DiagramEditor openedEditor = getOpenedEditor();
if (openedEditor != null) {
activePage.closeEditor(openedEditor, false);
}
return activePage;
}
protected void setDefaultSelection(final DiagramEditor editor) {
Display.getDefault().syncExec(() -> {
//default selection
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment