EGF Engine
Release 0.1.0

org.eclipse.egf.model.contract.type
Class PrimitiveTypeHolder

java.lang.Object
  extended by org.eclipse.egf.model.contract.type.AbstractTypeHolder
      extended by org.eclipse.egf.model.contract.type.PrimitiveTypeHolder
All Implemented Interfaces:
ITypeHolder
Direct Known Subclasses:
BooleanTypeHolder, StringTypeHolder

public abstract class PrimitiveTypeHolder
extends AbstractTypeHolder

Base class to implement type holders that host primitive types : String, int, boolean...


Constructor Summary
PrimitiveTypeHolder()
           
 
Method Summary
 boolean isJava()
          Is it standing for a java type (ie a class) ?
 void setPluginId(String pluginId_p)
          Set the id of the plug-in responsible to deal with the given value in ITypeHolder.getValue(String) and ITypeHolder.isValid(String).
 
Methods inherited from class org.eclipse.egf.model.contract.type.AbstractTypeHolder
getSelectionDialog, getSelectionHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.egf.model.contract.type.ITypeHolder
getValue, isValid
 

Constructor Detail

PrimitiveTypeHolder

public PrimitiveTypeHolder()
Method Detail

isJava

public boolean isJava()
Description copied from interface: ITypeHolder
Is it standing for a java type (ie a class) ?

Returns:
See Also:
ITypeHolder.isJava()

setPluginId

public void setPluginId(String pluginId_p)
Description copied from interface: ITypeHolder
Set the id of the plug-in responsible to deal with the given value in ITypeHolder.getValue(String) and ITypeHolder.isValid(String).
The plug-in id is provided to get the related bundle to figure out class loader issues for instance.

Parameters:
pluginId_p - must be the id of the plug-in not its name (e.g "org.eclipse.core.runtime").
See Also:
ITypeHolder.setPluginId(java.lang.String)

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.