KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > help > ui > internal > views > IHelpPartPage


1 /*******************************************************************************
2  * Copyright (c) 2005 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.help.ui.internal.views;
12
13 import org.eclipse.jface.action.IToolBarManager;
14 import org.eclipse.ui.IMemento;
15
16 public interface IHelpPartPage {
17     void addPart(String JavaDoc id, boolean flexible);
18     void addPart(String JavaDoc id, boolean flexible, boolean grabVertical);
19     boolean canOpen();
20     void dispose();
21     IHelpPart findPart(String JavaDoc id);
22     int getHorizontalMargin();
23     String JavaDoc getIconId();
24     String JavaDoc getId();
25     int getNumberOfFlexibleParts();
26     String JavaDoc getText();
27     IToolBarManager getToolBarManager();
28     int getVerticalSpacing();
29     void refilter();
30     void saveState(IMemento memento);
31     void setFocus();
32     void setHorizontalMargin(int value);
33     void setVerticalSpacing(int value);
34     void setVisible(boolean visible);
35     void stop();
36     void toggleRoleFilter();
37 }
38
Popular Tags