diff --git a/Plugins/org.blueberry.ui.qt/src/berryIReusableEditor.h b/Plugins/org.blueberry.ui.qt/src/berryIReusableEditor.h index ff4b4fa5e9..f61fe6e917 100644 --- a/Plugins/org.blueberry.ui.qt/src/berryIReusableEditor.h +++ b/Plugins/org.blueberry.ui.qt/src/berryIReusableEditor.h @@ -1,55 +1,55 @@ /*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef BERRYIREUSABLEEDITOR_H_ #define BERRYIREUSABLEEDITOR_H_ #include "berryIEditorPart.h" #include "berryIEditorInput.h" namespace berry { /** * \ingroup org_blueberry_ui_qt * * Interface for reusable editors. * * An editors may support changing its input so that * the workbench may change its contents instead of * opening a new editor. */ struct BERRY_UI_QT IReusableEditor : public virtual IEditorPart { berryObjectMacro(berry::IReusableEditor) virtual ~IReusableEditor(); /** * Sets the input to this editor. * - *
Note: Clients must fire the {@link IEditorPart#PROP_INPUT } + *
Note: Clients must fire the {@link IWorkbenchPartConstants#PROP_INPUT }
* property change within their implementation of
* setInput()
.
*
* @param input the editor input
*/
virtual void SetInput(IEditorInput::Pointer input) = 0;
};
}
#endif /*BERRYIREUSABLEEDITOR_H_*/
diff --git a/Plugins/org.blueberry.ui.qt/src/internal/berryWorkbenchSourceProvider.h b/Plugins/org.blueberry.ui.qt/src/internal/berryWorkbenchSourceProvider.h
index a502935478..089a02ab3b 100644
--- a/Plugins/org.blueberry.ui.qt/src/internal/berryWorkbenchSourceProvider.h
+++ b/Plugins/org.blueberry.ui.qt/src/internal/berryWorkbenchSourceProvider.h
@@ -1,243 +1,243 @@
/*===================================================================
BlueBerry Platform
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.
See LICENSE.txt or http://www.mitk.org for details.
===================================================================*/
#ifndef BERRYWORKBENCHSOURCEPROVIDER_H
#define BERRYWORKBENCHSOURCEPROVIDER_H
#include "berryAbstractSourceProvider.h"
#include "berryINullSelectionListener.h"
#include "berryIPartListener.h"
#include "berryIWindowListener.h"
#include "berryIPropertyChangeListener.h"
#include "berryIPerspectiveListener.h"
#include "berryIShellListener.h"
namespace berry {
struct IEditorPart;
struct IEditorInput;
struct IShowInSource;
class Display;
class ObjectBool;
class ObjectString;
class ShowInContext;
class WorkbenchWindow;
class WorkbenchSourceProvider : public QObject, public AbstractSourceProvider,
private INullSelectionListener, private IPartListener, private IWindowListener,
private IPropertyChangeListener, private IPerspectiveListener
{
Q_OBJECT
Q_INTERFACES(berry::ISourceProvider)
private:
/**
* The names of the sources supported by this source provider.
*/
static const QListnull
if there is no currently active editor.
*/
const IEditorPart* lastActiveEditor;
/**
* The last active editor id seen as active by this provider. This value may
* be null
if there is no currently active editor.
*/
SmartPointernull
if there is no currently active part.
*/
const IWorkbenchPart* lastActivePart;
/**
* The last active part id seen as active by this provider. This value may
* be null
if there is no currently active part.
*/
SmartPointernull
if there is no currently active site.
*/
const IWorkbenchPartSite* lastActivePartSite;
- const Object* lastShowInInput;
+ SmartPointernull
if the last call to
* Display.getActiveShell()
returned null
.
*/
WeakPointernull
if the last call to
* workbench.getActiveWorkbenchWindow()
returned
* null
.
*/
WeakPointerworkbench.getActiveWorkbenchWindow()
returned
* null
.
*/
WeakPointer