KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > iproduct > ISplashInfo


1 /*******************************************************************************
2  * Copyright (c) 2005, 2007 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.pde.internal.core.iproduct;
12
13
14 public interface ISplashInfo extends IProductObject {
15     
16     public static final String JavaDoc P_LOCATION = "location"; //$NON-NLS-1$
17
public static final String JavaDoc P_PROGRESS_GEOMETRY= "startupProgressRect"; //$NON-NLS-1$
18
public static final String JavaDoc P_MESSAGE_GEOMETRY = "startupMessageRect"; //$NON-NLS-1$
19
public static final String JavaDoc P_FOREGROUND_COLOR = "startupForegroundColor"; //$NON-NLS-1$
20

21     public static final String JavaDoc F_ATTRIBUTE_HANDLER_TYPE = "handlerType"; //$NON-NLS-1$
22

23     void setLocation(String JavaDoc location, boolean blockNotification);
24     
25     String JavaDoc getLocation();
26     
27     void addProgressBar(boolean add, boolean blockNotification);
28     
29     /**
30      *
31      * @param geo array of length 4 where geo[0] = x
32      * geo[1] = y
33      * geo[1] = width
34      * geo[1] = height
35      * @param blockNotification
36      */

37     void setProgressGeometry(int[] geo, boolean blockNotification);
38     
39     int[] getProgressGeometry();
40     
41     void addProgressMessage(boolean add, boolean blockNotification);
42     
43     /**
44      *
45      * @param geo array of length 4 where geo[0] = x
46      * geo[1] = y
47      * geo[1] = width
48      * geo[1] = height
49      * @param blockNotification
50      */

51     void setMessageGeometry(int[] geo, boolean blockNotification);
52     
53     int[] getMessageGeometry();
54     
55     void setForegroundColor(String JavaDoc hexColor, boolean blockNotification) throws IllegalArgumentException JavaDoc;
56     
57     String JavaDoc getForegroundColor();
58     
59
60     /**
61      * @param type
62      * @param blockNotification
63      */

64     public void setFieldSplashHandlerType(String JavaDoc type, boolean blockNotification);
65
66     /**
67      * @return
68      */

69     public String JavaDoc getFieldSplashHandlerType();
70     
71     /**
72      * @return
73      */

74     public boolean isDefinedSplashHandlerType();
75     
76     /**
77      * @return
78      */

79     public boolean isDefinedGeometry();
80     
81 }
82
Popular Tags