Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.ui.sourcelookup
Class AbstractSourceContainerBrowser


java.lang.Object
  extended by 
org.eclipse.debug.ui.sourcelookup.AbstractSourceContainerBrowser
All Implemented Interfaces:
ISourceContainerBrowser

public class AbstractSourceContainerBrowser
extends Object
implements ISourceContainerBrowser

Common implementation for source container browsers.

Clients implementing ISourceContainerBrowser should subclass this class.

Since:
3.0

Constructor Summary
AbstractSourceContainerBrowser ()
           
 
Method Summary
  ISourceContainer[] addSourceContainers ( Shell shell, ISourceLookupDirector director)
          Creates and returns new source containers to add to the given source lookup director.
 boolean canAddSourceContainers ( ISourceLookupDirector director)
          Returns whether this browser can add any source containers to the given source lookup director.
 boolean canEditSourceContainers ( ISourceLookupDirector director, ISourceContainer[] containers)
          Returns whether this browser can edit the given source containers.
  ISourceContainer[] editSourceContainers ( Shell shell, ISourceLookupDirector director, ISourceContainer[] containers)
          Edits and returns source containers to replace the given source containers.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSourceContainerBrowser

public AbstractSourceContainerBrowser()
Method Detail

addSourceContainers

public 
ISourceContainer[] addSourceContainers(
Shell shell,
                                              
ISourceLookupDirector director)
Description copied from interface: ISourceContainerBrowser
Creates and returns new source containers to add to the given source lookup director.

Specified by:
addSourceContainers in interface ISourceContainerBrowser
Parameters:
shell - the shell to use to parent any dialogs
director - the director the new containers will be added to
Returns:
the new source containers to add

canAddSourceContainers

public boolean canAddSourceContainers(
ISourceLookupDirector director)
Description copied from interface: ISourceContainerBrowser
Returns whether this browser can add any source containers to the given source lookup director.

Specified by:
canAddSourceContainers in interface ISourceContainerBrowser
Parameters:
director - source lookup director to potentially add source containers to
Returns:
whether this browser can add any source containers to the given source lookup director

editSourceContainers

public 
ISourceContainer[] editSourceContainers(
Shell shell,
                                               
ISourceLookupDirector director,
                                               
ISourceContainer[] containers)
Description copied from interface: ISourceContainerBrowser
Edits and returns source containers to replace the given source containers.

Specified by:
editSourceContainers in interface ISourceContainerBrowser
Parameters:
shell - the shell to use to parent any dialogs
director - the director the new containers will be added to
containers - the source containers to be edited
Returns:
the replacement source containers

canEditSourceContainers

public boolean canEditSourceContainers(
ISourceLookupDirector director,
                                       
ISourceContainer[] containers)
Description copied from interface: ISourceContainerBrowser
Returns whether this browser can edit the given source containers.

Specified by:
canEditSourceContainers in interface ISourceContainerBrowser
Parameters:
director - source lookup director to potentially edit source containers for
containers - the containers to edit
Returns:
whether this browser can edit the given source containers

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire