Skip to content
Snippets Groups Projects
Commit ff72e8c3 authored by Gregory Viguier's avatar Gregory Viguier Committed by Patrick MADELA
Browse files

Removed method addView(String title, Icon icon, Component component, Object...

Removed method addView(String title, Icon icon, Component component, Object id) wich is not safe for all docking frameworks.
parent 84386d69
No related branches found
No related tags found
No related merge requests found
......@@ -117,11 +117,6 @@ public abstract class AbstractViewFactory implements IViewFactory {
return toRemove;
}
@Override
public IView addView(String title, Icon icon, Component component, Object id) {
return addView(title, icon, component, id, null);
}
@Override
public IView addView(String title, Icon icon, Component component, Object id, JComponent dockingArea) {
IView view = createView(title, icon, component, id);
......
......@@ -78,18 +78,6 @@ public interface IViewFactory {
public IView addView(IView view);
/**
* Creates an {@link IView} for a given {@link Component}, adds it in the list of views, and
* tries to put it in the docking area
*
* @param title The {@link IView} title
* @param icon The {@link IView} {@link Icon}
* @param component The concerned {@link Component}
* @param id The {@link IView} id
* @return The {@link IView} if it was successfully created and added, <code>null</code> otherwise
*/
public IView addView(String title, Icon icon, Component component, Object id);
/**
* Creates an {@link IView} for a given {@link Component}, adds it in the list of views, and
* tries to put it in a docking area
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment