Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.srcinfo.view.factories
Class SourceContainerCompartmentViewFactory

java.lang.Object
  extended by ResizableCompartmentViewFactory
      extended by com.ibm.etools.systems.application.visual.editor.srcinfo.view.factories.SourceContainerCompartmentViewFactory

public class SourceContainerCompartmentViewFactory
extends ResizableCompartmentViewFactory


Field Summary
static String copyright
           
 
Constructor Summary
SourceContainerCompartmentViewFactory()
           
 
Method Summary
protected  List createStyles(View view)
           
 View createView(IAdaptable semanticAdapter, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
           
protected  boolean isSingleChildElement(View view)
          Check if the semantic element for the given view has single child.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright
Constructor Detail

SourceContainerCompartmentViewFactory

public SourceContainerCompartmentViewFactory()
Method Detail

createStyles

protected List createStyles(View view)

createView

public View createView(IAdaptable semanticAdapter,
                       View containerView,
                       String semanticHint,
                       int index,
                       boolean persisted,
                       PreferencesHint preferencesHint)

isSingleChildElement

protected boolean isSingleChildElement(View view)
Check if the semantic element for the given view has single child.

Returns:
true if has only one child, false otherwise.

Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.