|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.edit.cobol.ISeriesEditorCobolILEModelFactory
public class ISeriesEditorCobolILEModelFactory
TIP: While not particularly useful in this instance, adapters are an easy way to get polymorphic behaviour from unrelated objects in the desktop. For example, a particular adapter could be added to files, folders, and other ISV-defined objects to give them common behaviour. Adapters are also a convenient way to centralize domain logic that would otherwise be scattered among various views and dialogs.
Field Summary | |
---|---|
protected LpexView |
_view
|
static String |
Copyright
|
Method Summary | |
---|---|
protected void |
addSections(AdaptableList list,
ISeriesEditorCobolILEMarkElement element)
Adds all mark elements to the list for the subtree rooted at the given mark element. |
AdaptableList |
getContentOutline(IAdaptable e)
Returns the content outline for the given COBOL file. |
static ISeriesEditorCobolILEModelFactory |
getInstance()
Returns the singleton COBOL adapter. |
LpexView |
getLpexView()
|
AdaptableList |
getSections(IFile file)
Returns a list of all sections in this COBOL file. |
void |
setLpexView(LpexView view)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
protected LpexView _view
Method Detail |
---|
protected void addSections(AdaptableList list, ISeriesEditorCobolILEMarkElement element)
public AdaptableList getContentOutline(IAdaptable e)
e
- the element for which to return the content outline
public static ISeriesEditorCobolILEModelFactory getInstance()
public AdaptableList getSections(IFile file)
e
- the element for which to return section heading and subheadings
public void setLpexView(LpexView view)
public LpexView getLpexView()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |