01: /*******************************************************************************
02: * Copyright (c) 2007 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: ******************************************************************************/package org.eclipse.ui.intro;
11:
12: /**
13: * An intro content detector is used when starting the Workbench to determine if
14: * new intro content is available. Since calling this method is part of the
15: * Workbench start sequence, subclasses should be implemented with care as not
16: * to introduce noticeable delay at startup. If an intro content detector
17: * reports new available content, the view part showing the content will be
18: * opened again even if the user had closed it in a previous session. Because of
19: * this, the intro view part should draw the user's attention to the new content
20: * to avoid confusion about why the intro view part was opened again without the
21: * user requesting it.
22: *
23: * @since 3.3
24: *
25: */
26: public abstract class IntroContentDetector {
27:
28: /**
29: * Returns <code>true</code> if new intro content is available.
30: *
31: * @return <code>true</code> if new intro content is available
32: */
33: public abstract boolean isNewContentAvailable();
34:
35: }
|