com.ibm.etools.systems.application.visual.editor.srcinfo.view.factories
Class SourceContainerViewFactory
java.lang.Object
AbstractShapeViewFactory
com.ibm.etools.systems.application.visual.editor.view.factories.ArtifactViewFactory
com.ibm.etools.systems.application.visual.editor.srcinfo.view.factories.SourceContainerViewFactory
public class SourceContainerViewFactory
- extends ArtifactViewFactory
View factory for Source Container. Add drawer style to support collapse.
Method Summary |
protected List |
createStyles(View view)
|
View |
createView(IAdaptable semanticAdapter,
View containerView,
String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
|
protected void |
decorateView(View containerView,
View view,
IAdaptable semanticAdapter,
String semanticHint,
int index,
boolean persisted)
|
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 |
copyright
public static String copyright
SourceContainerViewFactory
public SourceContainerViewFactory()
decorateView
protected void decorateView(View containerView,
View view,
IAdaptable semanticAdapter,
String semanticHint,
int index,
boolean persisted)
- Overrides:
decorateView
in class ArtifactViewFactory
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.
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.