blob: 8db9386515d91726c569b457b3166d421003682b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.pde.core.plugin;
/**
* This type of model is created by parsing the manifest file.
* If the file is a workspace resource, it will be
* available as the underlying resource of the model.
* The model may be read-only or editable.
* It will also make a reference to the build properties
* model when created. The reference will be of the
* same type as the model itself: if the model is
* editable, it will attempt to obtain an exclusive
* editable copy of build.properties model.
* <p>
* The fragment model can be disabled. Disabling the
* model will not change its data. Users of the
* model will have to decide if the disabled state
* if of any importance to them or not.
* <p>
* The model is capable of notifying listeners
* about changes. An attempt to change a read-only
* model will result in a CoreException.
*/
public interface IFragmentModel extends IPluginModelBase {
/**
* Returns a top-level model object.
*
* @return a root model instance
*/
IFragment getFragment();
}
|