|
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.systems.application.visual.editor.providers.DefaultSystemIconProvider
public class DefaultSystemIconProvider
Default icon provider for Application Diagram.
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
DefaultSystemIconProvider()
|
Method Summary | |
---|---|
void |
addProviderChangeListener(IProviderChangeListener listener)
|
Image |
getIcon(IAdaptable hint,
int flags)
|
protected IconRetriever |
getIconRetriever()
Get icon retriever. |
protected Image |
getImage(String mappedImageConstants,
int flags)
Get image from mapped image constants. |
protected String |
getMappedImageConstants(EObject semanticElement)
Get icon for given model element. |
protected boolean |
is12x12(int flags)
Return true if the flag is 12x12. |
protected boolean |
is16x16(int flags)
Return true if the flag is 16x16. |
protected boolean |
is24x24(int flags)
Return true if the flag is 24x24. |
protected boolean |
isSupported(Object semantic)
Check if the given semantic object is supported. |
protected boolean |
isViewTypeSupported(String viewType)
Check if the given view type is supported. |
boolean |
provides(IOperation operation)
|
void |
removeProviderChangeListener(IProviderChangeListener listener)
|
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
Constructor Detail |
---|
public DefaultSystemIconProvider()
Method Detail |
---|
public Image getIcon(IAdaptable hint, int flags)
protected Image getImage(String mappedImageConstants, int flags)
mappedImageConstants
- the constants for retrieving imageflags
- indicates the size
protected IconRetriever getIconRetriever()
protected final boolean is16x16(int flags)
protected final boolean is12x12(int flags)
protected final boolean is24x24(int flags)
protected String getMappedImageConstants(EObject semanticElement)
public void addProviderChangeListener(IProviderChangeListener listener)
public boolean provides(IOperation operation)
protected boolean isViewTypeSupported(String viewType)
viewType
- : view type
protected boolean isSupported(Object semantic)
semantic
- model element
public void removeProviderChangeListener(IProviderChangeListener listener)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |